Softaculous


Topic : set up a domain located outside of ampps/www folder?


Posted By: Pr3fix on May 1, 2014, 12:13 am
Hello,

I am using OSX. I'm trying to set up AMPPS so that when I type "http ://datavis.local", it takes me to my dev project folder (located in /Users/Tom/Web/dev/datavis).


I did the following steps in the AMPPS home menu:
Configure -> Add New Domain:
Domain name: datavis.local
Domain Addon: checked
Domain Path: Users/Tom/Web/dev/datavis
Added to HOSTS file


then, in features->Alias Manager,
Alias: datavis
Path: /Users/Tom/Web/dev/datavis

When I go to "http :// localhost/datavis", it displays the directory as expected.

When I go to "http: //datavis.local", I get an error: 403 Forbidden: You don't have permission to access / on this server.


How can I make it so going to "datavis.local" produces the page? It works when I go to "localhost/datavis" but I'd rather use the .local TLD for my own reasons.

Thanks!!

Posted By: Pr3fix on May 1, 2014, 12:20 am | Post: 1
So it seems I managed to answer my own question!

For future readers, the problem ( at least for me ) was the name of my domain folder. I provided the domain name "datavis.local", the domain path set to the folder ".../Web/dev/datavis".

I renamed the folder from "datavis" to "datavis.local", and now it works! visiting http://datavis.local is now just like visiting localhost/datavis. yay!

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.