Every website created on our platform is visible to the Internet via an associated developmental domain. But what about when you're done with development, and are ready to route traffic to your new website using your own domain? Here's how you do it!
1. List the domains you want to receive as Addresses on the website
The first step is to add your domain to the Addresses list of your website, as depicted in the picture below:
Usually, you want to list the main domain address, and the www -subdomain as well. These are the addresses the users will type into their browser's location bar to find your website.
2. Publish your website
To publish your website, click the "Publish" -button located at the top-right of your website's dashboard. When the website is published, our servers accept traffic coming through the listed addresses.
When you publish your website, you need to select a hosting plan. "Small" -plan is shared with other websites on our platform, while "Medium" -plan offers a dedicated processing unit just for your website. One "Small" hosting plan is included in your Pilvia Account subscription.
3. Route traffic to your website from domain's DNS
Next, you need to route your domain towards our servers, by making changes to your domain's DNS. These settings are not found on Pilvia's dashboard, as the DNS is dependant on your domain's nameserver configuration. In many cases, domain registrars provide a dashboard for DNS changes, but if that is not the case, asking via your domain registrar's support channels should guide you to the right location.
You need to set up the A-records for all of the addresses you listed during the steps above, and point them towards our Server IP address.
Note: the IP address might be different depending on your website's location. Make sure to check it from the our dashboard!
Here's an example DNS configuration, on CloudFlare:
After making changes to the DNS, it may take some time for those changes to take place, depending on the TTL settings of the nameservers. In due time, our dashboard will reflect the change on the DNS:
Presto! Your domain now directs traffic to your website at Pilvia.
4. Replace your developmental URLs with your own domain
While your domain is now properly connected, there is still one last task to do: changing the URLs on your website. As you're building your page, the URLs on the page will use the developmental domain *.pilvia.site (or other, depending on the level of your Pilvia Account). You probably don't want your visitors seeing the developmental url, when they enter your website via your domain.
If your website is using WordPress as the CMS, we have a handy tool you can use. By clicking the "Replace URLs" -button on our dashboard, you can replace the developmental URLs with your own domain address:
If you're using other CMS, or have a hand built PHP/HTML/CSS/JS -website, you need to replace the urls manually.