Skip to main content

Connecting a Domain

Applications you deploy on the Arvancloud Cloud Container can be reachable through a domain. You can set a free Arvancloud domain or your own domain for the app during and after creating an application.

Free Domain​

In the Cloud Container menu, click the application you want in Applications and go to Domain. On this page, select Free Arvancloud Subdomain and choose a name for it.

The Arvancloud subdomain includes the name you choose and the project name as a suffix.

This domain is available over HTTPS by default, and to use it, the application must be able to respond to HTTP requests received on port 80.

Custom Domain​

By setting your own domain on an application, you can connect to it with a fully customized domain. There are two main prerequisites for this:

  • Your DNS records are managed by the Arvancloud CDN.
  • The Arvancloud CDN is active for the domain/subdomain you want to use to access your application.

In the Cloud Container menu, click the application you want in Applications and go to Domain. On this page, select Custom Domain.

In the domain field, select the domain you want. If you haven't registered a domain in the Arvancloud CDN yet, you can do so by clicking New Domain, or define it in the CDN with the help of the domain registration guide.

Also, if you need the application to be reachable on a subdomain of this domain, enable Set Subdomain and select it. You can also define a subdomain on the same page by clicking New Subdomain.

If you need wildcard DNS, or to use * for all subdomains, you can contact Arvancloud support through a ticket.

When you apply these settings, an ANAME/CNAME record with the value default-gateway.ir-thr-ba1.arvancaas.ir. is created for your domain/subdomain in the CDN panel.