Posted By: D@ve on December 2, 2014, 1:58 pm |
Is it possible to have Subdomains for localhost?
I have several web projects I maintain. I'd like them to be in the www directory with a subdomain for each project: //localhost => /Applications/AMPPS/www //project1.localhost => /Applications/AMPPS/www/project1/ //project2.localhost => /Applications/AMPPS/www/project2/ //project3.localhost => /Applications/AMPPS/www/project3/ [/code] How can I do that with AMPPS under OSX ----------------------- http://www.bibel.com |
Posted By: jamesc on December 2, 2014, 5:30 pm | Post: 1 |
yes it's possible. from your ampps dashboard simple go to http://localhost/ampps/index.php?act=ampps_domainadd and add new domain |
Posted By: D@ve on December 2, 2014, 7:47 pm | Post: 2 |
Quote From : jamesc December 2, 2014, 5:30 pm yes it's possible. from your ampps dashboard simple go to http://localhost/ampps/index.php?act=ampps_domainadd and add new domain I did that... I tried subdomain.localhost and used the path /Applications/AMPPS/www/subdomain/ but it didn't work. regards, DAve ----------------------- http://www.bibel.com |
Posted By: vrwired on September 8, 2015, 9:42 pm | Post: 3 |
It appears this question was never properly answered as was no response to second reply to user with recurring problem (perhpas because of its ambiguity)
I have the exact same problem. I've tried several configs on ampps_domainadd, including without www path for subdomain as suggested here. However it always lands on root. what else to try? |
Posted By: jamesc on September 9, 2015, 5:15 am | Post: 4 |
Is the Add an entry to Host File field checked?
[img]Add an entry to Host File ? Check to add an entry[/img] |