Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Multiple domains - Only one its ok



Threaded Mode | Print  

 Multiple domains - Only one its ok, Only 1 domain works (3 Replies, Read 3792 times)
gabrielecl
Group: Member
Post Group: Newbie
Posts: 2
Status:
I'm a newbie of AMPSS

1) installed AMPPS
2) configured 5 different domains on existants directories
3) locally (using file host) all its ok
4) from pc on internet: 1 domain function, the others go to he default website of AMPPS
5) I have checked the file httpd-vhosts.conf and all seems ok
6) All sites are in the same folder

How can I debug this situation?

Thanks
Gabriele
IP: --   

Multiple domains - Only one its ok
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

open httpd-vhosts.conf

and replace

Code
NamevirtualHosts 127.0.0.1:80


with

Code
NamevirtualHosts *:80


Restart Apache.

Edited by tidus : July 6, 2012, 4:26 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Multiple domains - Only one its ok
gabrielecl
Group: Member
Post Group: Newbie
Posts: 2
Status:
The solution is the opposite. There is the 127.0.0.1 indication and I need "*".
The cause is that I checked the "modify the host file"; in this case the domain is ONLY local and not ALSO local.

Thanks
IP: --   

Multiple domains - Only one its ok
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Corrected the post.

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 10:48 am.

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