Zerops subdomain, custom domains & IP access
Zerops offers 3 different ways how to access your application from the internet:
Public access through zerops.app subdomain​
By default, your runtime service is not publicly accessible. To test your application, you can enable public access through zerops.app subdomain. Go to the service detail page in Zerops GUI and select Public access & internal ports in the left menu. Then toggle the Zerops subdomain access switch. Zerops will assign the unique zerops.app subdomain for your application. If you have defined more internal ports with http support in your zerops.yml, Zerops will create the unique zerops.app subdomain for each port.
Use the https://
protocol to access your application through zerops.app subdomain, Zerops manages the SSL certificate for you. A central Zerops http balancer is used to terminate the SSL connection. The traffic is then redirected to your application on the http://
protocol.
Do not use the zerops.app subdomain for production. The traffic is limited by the central https balancer that is shared with other Zerops projects and will always create a bottleneck that prevents your application to scale. The maximum upload limit for zerops.app subdomain is 20 MB.
Public access through your domain​
By default, your runtime service is not publicly accessible. When your application is ready for production or if you want to test it on the production domain, configure the public access through your domain.
Go to the service detail page in Zerops GUI and select Public access & internal ports in the left menu. Click on the Setup first domain access button.
Public IPv4 address​
To access your runtime service through your domain you will need a public IPv4 address. The public IPv4 address is dedicated for your project and costs $3 for each 30 days. To enable the public IPv4 address click on the activate button. Once the public IPv4 address is active, you can configure the public access through your domain for your runtime application. If you have multiple runtime applications in the same project, they will share the same public IPv4 address. You can't purchase more than one public IPv4 address for your project.
You cannot purchase the public IPv4 for your promo credit. Top up your credit to purchase your first IPv4 address.
The public IPv4 subscription is automatically renewed after 30 days and the $3 fee is deducted from your credit on the renewal date. If you delete the project with an active public IPv4, the fee for the public IPv4 is not refunded but you can use the same IPv4 for another project for free until the end of the subscription.
Public IPv6 address​
Zerops assigns one dedicated public IPv6 address to each project. The public IPv6 address is free of charge. The public IPv6 address is active when you enable a public domain access for your first runtime service. You cannot add multiple public IPv6 addresses to your project.
If you are sure that your users have the IPv6 connection to the internet, you can use only the public IPv6 address to access your application through your domain.
Configure public http routing​
To configure the public http routing go to the service detail page in Zerops GUI and select Public access & internal ports in the left menu. Click on the Setup first domain access button.
Follow these steps:
- Enter your domain name e.g.
mydomain.com
to the domains input. You can enter a subdomain e.g.app.mydomain.com
, the level of your subdomain is not limited. If you have multiple domains and you want to set the identical routing for them, for example if you have multiple domains for different languages, add them to the input. - If you don't want Zerops to install and maintain the Let's Encrypt SSL certificate for your domain(s), disable the Automatically install SSL certificates switch. The SSL certificate installed by Zerops is free of charge.
- Add one or more routing configurations. Each routing configuration has 2 settings: The source in the form of a public path (the part of the URL after your domain(s)) and the destination where you choose to which application and internal port you want to redirect the incoming traffic from the defined source.
You can change these settings any time.
How to configure your domain DNS​
Your domain DNS settings cannot be changed in Zerops GUI. Go to your domain registrar and configure following DNS records:
- Point the A record to your project public IPv4 address.
- Point the AAAA record to your project public IPv6 address.
After the TTL of your domain's DNS expires, your application in Zerops will be accessible through your domain.