Custom Domain
Give your app a unique web address 🕸
Besides deploying your project to yourapp.directual.app,
you can also publish your project to any custom domain you own once you have a suitable plan.
Step 1. Register your domain
If you own your domain already you can add it, go to Step 2. You also can search and purchase a new domain, for example, through GoDaddy or Google Domains (or any other service).
Step 2. Add a domain in Directual
Go to Web-pages section, then to Web-portal settings → Custom Domain.
Adding a First-level Domain
For example, mysite.com
or superapp.io
If you add a first-level domain, you'll see A-records to copy.
Adding a Subdomain
For example, app.mysite.com
or www.superapp.io
Step 3. Updating DNS-records
Access your domain's DNS management in your domain registrar's or DNS host's dashboard.
In case of a first-level domain
Add an A record
Set the host to @
Add the first
ip
, that you've copied in DirectualSave the record
Add one more A record
Set the host to @
Add the second
ip
, that you've copied in DirectualSave the record
In case of a subdomain
Add a CNAME record
Set the host to your subdomain (for example if you add a subdomain
hello.myapp.com
, host will behello
)Set the link to
proxy.directual.app
Save the record
Don't forget to edit records for www
subdomain, if you want to use it. Usually there are some default settings for www
.
Step 4. Check DNS status in Directual
Domains can take anywhere from 24–48 hours to populate and sometimes up to 72 hours depending on your provider. Some providers like GoDaddy and Google Domains can populate their DNS as quickly as 15 min to 1 hour.
Bonus. Free SSL
Directual automatically provides SSL ("secure socket layer") to encrypt your app. SSL is the standard method for establishing an encrypted link between a web server and a browser. It ensures that all data passed between the web server and browsers remain private and integral, so you and your website's visitors can rest assured that your information is safe.
Issuing an SSL certificate usually takes 10–20 minutes.
Last updated