Map pages to specific domains
The Pronamic Domain Mapping plugin allows you to map a page in WordPress to a specific domain. Follow the guide below to easily get the plugin up and running.
- Extract the ZIP-file and upload the contents to the /wp-content/plugins/ directory of your WordPress installation
- Activate the plugin from the Plugins page
- Create a new domain name page by clicking on Add New in the Domain Name Pages menu
- Enter the (sub)domain for which this page should be shown in the field Domain Name
To actually visit the just added domain name page, you need to make sure the (sub)domain is configured to show your WordPress site. To test the domain name page, just visited the domain for which you’re creating the domain name page. If you don’t see the domain name page, follow the instructions below if your host uses either the Plesk or DirectAdmin control panel to link the domain to your primary domain (the domain which is running the WordPress installation).
Adding a Parked Domain in cPanel
- Log in to the cPanel control panel
- Go to Parked Domains in the Domains section
- In the section Create a New Parked Domain, enter the domain of the domain name page and click Add Domain (domain root should be the same as your main website and redirection should be disabled for the parked domain)
- The domain name page should now be shown when you visit the parked domain, but it might take up to 24 hours for changes to take effect.
Creating a Domain Alias in Plesk
- Log in to the Plesk control panel
- Run the Add New Domain Alias wizard in the Websites & Domains tab
- Specify the domain for which you are creating an alias (the primary domain) and the alias’s domain name
- Make sure the web service is enabled for the domain alias (do NOT check the option to redirect)
- The domain name page should now be shown when you visit the domain alias, but it might take up to 24 hours for changes to take effect
Creating a Domain Pointer in DirectAdmin
- Log in to the DirectAdmin control panel
- Go to Domain Pointers in the Advanced Features section
- Specify the domain for which you are creating a pointer (the primary domain) and the pointer’s domain name
- The domain name page should now be shown when you visit the domain pointer, but it might take up to 24 hours for changes to take effect
Always make sure the name servers for the new domain are the same as the primary domain.