Domain Mapping

As you may have noticed, every site and its versions are accessed through URL's such as:


These addresses are useful while developing a website, but obviously are not practical for sites in production. In order for you to associate a valid domain with the content of a site created in Daspanel there is the domain mapping feature.

This feature is also used to obtain a valid SSL certificate for the address used to access the site.

Valid SSL certificates can only be obtained for valid domains and with Daspanel running on a public IP address available on the internet. SSL certificates can not be obtained for the domain because any address associated with it will always have as IP address

If you are running Daspanel locally, ie accessing it using the domain, the SSL certificates will always be of the self signed type, regardless of the type selected for the domain mapping.

See the diagram below for how it works:

Daspanel sites mappings

In the drawing above is an example of a website that has 2 domain mappings and each one uses a different version.

So when you access the URL of the site the content that will be displayed is what is stored in the Initial version version.

When you map to a site, Daspanel will automatically also map to the same site.

If you want to use this feature when Daspanel is running on your local computer, for tests, for example, be sure to add the following entries in the hosts file of your operating system:

Host Ip Address

Manage domain mapping

To see the available domain mappings of a site go to the Sites module

Daspanel site versions

  1. Click the fourth bullet to display the domain mapping management area of the chosen site.

The site card will be changed to the domain mapping management management area:

Daspanel site mapping tab

  1. Click the MANAGE buttom to go the management page.

On the next page you will see a list of all the existing domain mappings for the site:

Daspanel site mapping list

Next steps