Softaculous


Topic : Hosting multiple domains on one public ip?


Posted By: johnddd on August 8, 2012, 12:40 pm
I just did a clean install of AMPPS, added a domain and it creates a directory for my domain (sitename.com) like so

[COPY AND PASTE IMAGE] i.imgur.com/L9wD1.png and i.imgur.com/oAo57.png (sorry can't post links)

How, when a users goes to sitename.com can it put them inside the sitename.com directory and not right at the root?

If I install just apache by itself I can do this no problem with virtual hosts but AMPPS seems to modify those settings itself and they look correct but it isn't working. What are the proper steps? I am sure it is something simple.

thank you.

Posted By: tidus on August 8, 2012, 2:05 pm | Post: 1
Hi,

open httpd-vhosts.conf

and replace

Code
NamevirtualHosts 127.0.0.1:80


with

Code
NamevirtualHosts *:80


Restart Apache.

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

Posted By: johnddd on August 8, 2012, 2:28 pm | Post: 2
Thank you. I saw that post while searching and tried it and nothing happened.

Just to be clear here is a screenshot of what I did. Is this correct?
i.imgur.com/fOaUw.png

Posted By: tidus on August 9, 2012, 4:06 am | Post: 3
Hi,

Also try:

Code
<VirtualHost *:80>


Please open a ticket here, we will look into it:
http://www.ampps.com/support

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

Posted By: johnddd on August 10, 2012, 3:06 pm | Post: 4
That did not work. Isn't this a pretty common feature? Open a ticket? Like no one has done this before?

Posted By: tidus on August 11, 2012, 5:43 am | Post: 5
Hi,

We are not able to generate this issue on our test machines. So can you please open a ticket. We will look into it.

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

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.