Overview
A virtualhost tells your web hosting service which folder to load when a visitor arrives via a specific domain or subdomain.
By managing virtual hosts, you can:
Point a domain to a specific folder on your web hosting
Point subdomains to different folders
Control where visitors are directed for each subdomain
When you have completed this guide, you will know how to add and manage virtual hosts for your web hosting service in the customer area.
Important information
⚠️ A domain must be added to your web hosting service before a virtual host can be created for it.
⚠️ The virtual host’s document root must point to a folder, not a file. Pointing to a file will cause the virtual host to stop working.
Prerequisites
Before you begin, make sure you:
Have access to the customer area
Are logged in to the customer area
Have an active web hosting service
Have added the domain to your web hosting service
Step 1: Open your web hosting service
In the customer area, click View details under your web hosting plan.
The system will open the service overview.
Step 2: Add the domain you want to manage virtual hosts for
If the domain you want to add virtual hosts for is not already in the Domains list:
Select the domain in the dropdown menu
Click Add domain
Step 3: Open the web hosting addresses
When the domain appears in the Domains list, click Manage Virtualhosts.
The system opens the overview of existing virtual hosts for your web hosting service.
Step 4: Add a new virtual host
Under Add new virtual host:
Enter the URL the virtual host should respond to (for example,
example.comorsubdomain.example.com). We recommend adding a virtual host for both the root domain and the www subdomain, so that all visitors reach the correct place regardless of whether they type “www” before the domain name or notSelect which folder (“Document root”) the virtual host should point to. This must be a folder, not a file, and must be located INSIDE the
public_htmlfolder.Click Add Virtualhost
The web hosting service is now configured to respond for the domain and direct visitors to the selected folder.
Example setup with the root and www subdomain, plus one subdomain pointing to its own subfolder:
Step 5: Check the domain’s DNS
For the domain to display the correct website, check that the DNS records for the domain are pointing to the correct IP address.
⚠️ The IP address for your web hosting plan can be found on the plan’s service overview page. See the guide: How do I find the IP address of my web hosting?
The IP address is also shown below the fields for adding a new virtual host.
When the DNS records are correct, the virtual host will begin working within 1–2 hours.
Troubleshooting
The website is not loading after adding the virtual host
Check that:
The virtual host is pointing to a folder, not a file
The folder exists on the web hosting service
The domain has been added to the web hosting service
The domain is showing the wrong website
Check that:
The correct folder has been selected as the document root
There are no conflicting virtual hosts for the same domain or subdomain
The virtual host is not working after 2 hours
Check that:
The DNS records for the domain are pointing to the correct IP address
The domain has had enough time to propagate — this can in some cases take up to 24–48 hours
I cannot find the domain in the virtual host setup
The domain must first be added to the web hosting service before a virtual host can be created for it.
Summary
You have now learned how to add virtual hosts for a domain on your web hosting service in the customer area.
By managing virtual hosts, you can point each domain and subdomain to the correct folder on your web hosting, and run multiple websites on the same plan.





