localhost Configuration
This page explains how to configure Domain Mapping System on a local WordPress site with your localhost configuration settings.
For operating systems besides Mac OS and Windows, please utilize Google search for instructions about editing your Hosts file.
- 1.Open Terminal and input the following command to edit your Hosts file.
sudo nano /etc/hosts
- 2.Scroll to the bottom of the file and paste the following content, updating it for the alias domains you want to map:
## DMS plugin mappings
127.0.0.1 dev1.dms.local
127.0.0.1 dev2.dms.local
127.0.0.1 dev3.dms.local
127.0.0.1 dev4.dms.local
127.0.0.1 dev5.dms.local
- 1.Press Start and find Notepad. Right-click to Run as administrator.
- 2.Once in Notepad, go to File -> Open. Navigate to C:\Windows\System32\Drivers\etc and make sure to select All Files to open/edit the hosts file.
- 3.Scroll to the bottom of the file and paste the following content, updating it for the alias domains you want to map:
## DMS plugin mappings
127.0.0.1 dev1.dms.local
127.0.0.1 dev2.dms.local
127.0.0.1 dev3.dms.local
127.0.0.1 dev4.dms.local
127.0.0.1 dev5.dms.local
Last modified 7mo ago