One of the main advantages of Scala Hosting’s managed VPS solutions is that all your (or your clients’) online projects can run on individual accounts created through SPanel, our all-in-one management platform. A single SPanel user account is not limited to a single website, though. Using SPanel’s Addon Domain feature, you can host multiple different websites under a single account.
How does an addon domain work?
Many people might confuse an addon domain with a subdomain, and it must be said that this is understandable to a certain extent. A subdomain has a document root (a folder where its files and folders are stored) located somewhere inside the home directory of your account. Inside it, you can, among other things, install a content management system and manage it separately from the content located at the parent domain.
With an addon domain, you once again have to pick a document root situated in your account’s home directory, and you can once again build an entirely new website inside it. This time, however, you’ll have a separate domain associated with it, and it will not be connected to the main domain of your account.
As a result, you can run multiple completely separate websites on the same hosting account, and it will be impossible for regularusers to find out that there’s anything connecting them. This makes the addon domain feature perfect if you (or a customer of yours) have two or more relatively small projects that can co-exist on the same SPanel user account.
Adding an addon domain through SPanel
To add an addon domain, you need to log into SPanel’s User Interface and go to Addon domains. The first field is for your addon domain. The addon domain should be different from the main domain, and it can’t match any other domains hosted on the same SPanel account.
In the second field, you need to enter the addon domain’s document root. By default, SPanel will create a new folder inside the home directory of your account, name it after the new addon domain, and set it as its document root. The Add Domain button adds the new domain to the list visible further down the page. From there, you can remove addon domains and change their document root folders by clicking the Edit button.
Bear in mind that adding the addon domain through SPanel’s User Interface won’t register the domain and will not point it to your VPS. If it is to resolve properly, you need to make sure that your domain is registered and its DNS settings are correctly set.