Add Domain
First go to localhost/ampps .
In Enduser Panel, Click on Add Domain as you can see in screenshot.
![add-domain-1 add-domain-1](https://ampps.com/sitepad-data/uploads/2021/10/add-domain-1.png)
Addon or Parked
Domain can be of two types:
Addon
Enter the Domain Name, select the addon and enter the domain path.
![add-domain-2 add-domain-2](https://ampps.com/sitepad-data/uploads/2021/10/add-domain-2.png)
Parked
Enter the Domain Name, select the parked and select the domain on which you want to park.
![add-domain-3 add-domain-3](https://ampps.com/sitepad-data/uploads/2021/10/add-domain-3.png)
Finish
After entering the details, click on the "Add Domain" button for adding a domain.
![add-domain-4 add-domain-4](https://ampps.com/sitepad-data/uploads/2021/10/add-domain-4.png)
Successfully Added a Domain
On Successfully Adding a domain you will see a message as shown below.
![add-domain-5 add-domain-5](https://ampps.com/sitepad-data/uploads/2021/10/add-domain-5.png)
Add domain to Host file
For windows go to path C:\Windows\System32\drivers\etc and open hosts file.
For macOS go to path /etc/hosts and open hosts file.
Add domain name and domain address in hosts file at end of file as example given below.
127.0.0.1 test.com
Note: Please verify if Apache has been restarted, if not please restart it as shown below.
![restart restart](https://ampps.com/sitepad-data/uploads/2022/04/restart-1.png)
If you face any issues, please open a Support ticket with us.