URL / Port
Last updated
Was this helpful?
Last updated
Was this helpful?
A domain is an address that identifies a website or application on the internet, and Arkain provides default sub domains like https://mydomain.arkain.io/
for each container.
Therefore, there is no need to purchase a domain.
Run your application by the [Run] button or thorugh the terminal. Verify if the application is running successfully through the terminal panel, and note the port number where the application is running.
The application's port number is necessary for registering a domain.
Click on the [Preview] → [Running URL and Port] button in the menu bar of the workspace to open the sub domain settings modal. Here, you can register a new sub domain and view the list of registered sub domains.
To register a new sub domain, enter the URL and port number you want in the input field, and click the [Register] button. Note that for some software stacks, sub domains for default ports may already be registered.
You cannot register multiple domains with the same port number.
You can register your own domain instead of the sub domains provided by Arkain such as mydomain.run.arkain.app
. A custom domain can be set in Arkain's Dashboard by going to [Container Settings]() → URL/Port section, then clicking the [+ Add] button and selecting [Custom domain].
And enter the domain to register starting from www
, and upload the crt
and key
files. If the certificate has a password, include the password in a file and upload it.
Set the DNS CNAME of Arkain on the domain management service page. You need to configure a different CNAME depending on the container's region.
Seoul: domain.run-ko-seoul1.arkain.site
Oregon: domain.run-us-west2.arkain.site
Frankfrut: domain.run-eu-central1.arkain.site
Mumbai: domain.run-ap-south1.arkain.site
Open your web browser and enter the registered domain to access it. You should see the results of the application you've developed displayed. If Hot Module Replacement (HMR) is applied in your code, your code changes will be reflected in the browser in real-time without broswer refresh.
If you encounter a 404 error page, double-check that you entered the domain correctly in the browser.
If you encounter a Connection Refused page, check that the application is running correctly and ensure that the port number you entered during domain registration is correct.