First go to localhost/ampps .
In Enduser Panel, Click on Add Domain as you can see in screenshot.
Addon or Parked
Domain can be of two types:
Enter the Domain Name, select the addon and enter the domain path.
Enter the Domain Name, select the parked and select the domain on which you want to park.
After entering the details, click on the "Add Domain" button for adding a domain.
Successfully Added a Domain
On Successfully Adding a domain you will see a message as shown below.
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.
Note: Please verify if Apache has been restarted, if not please restart it as shown below.
If you face any issues, please open a Support ticket with us.