Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : set up a domain located outside of ampps/www folder?



Threaded Mode | Print  

 set up a domain located outside of ampps/www folder? (1 Replies, Read 7455 times)
Pr3fix
Group: Member
Post Group: Newbie
Posts: 5
Status:
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!!
IP: --   

set up a domain located outside of ampps/www folder?
Pr3fix
Group: Member
Post Group: Newbie
Posts: 5
Status:
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!
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 1:03 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025