Page 1 of 3 | 1 | 2 | 3 | > | >> | All |
Posted By: tidus on March 1, 2012, 8:39 am | Post: 1 |
Hi,
Currently you will have to add an entry to the hosts file of Windows manually. We are working on it and most probably will add this in next version. E.g: 1. Add the following two lines in hosts file of Windows, generally located in C:\Windows\system32\drivers\etc\ folder Code 127.0.0.1 domain1.com
127.0.0.1 domain2.com 2. Add the domains domain1.com and domain2.com with different directory path. Restart Apache, if it doesn't do it automatically. Then access http://domain1.com & http://domain2.com ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: Ikoz on March 1, 2012, 4:23 pm | Post: 2 |
Thanks for the reply. That's exactly what I did. I put both domains into my hosts file on the client computer, and added both paths to the Domains in the web interface, but calling either http://domain1.com or http://domain2.com will always end in the www root. I am running this on Windows 7. Any other ideas?
Thanks -Iko |
Posted By: tidus on March 2, 2012, 6:12 am | Post: 3 |
Hi,
You can try the hard way, refer this post http://www.softaculous.com/board/index.php?tid=2077&title=Using_multiple_domains ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: Ikoz on March 2, 2012, 7:05 am | Post: 4 |
Thanks for your response. I will try it the "hard" way ;-) |
Posted By: Ikoz on March 3, 2012, 12:34 am | Post: 5 |
Thanks. That seemed to have worked. |
Posted By: tidus on April 10, 2012, 4:39 am | Post: 7 |
Hi,
This feature has been added in AMPPS 1.7 version. If your Enduser Panel has been automatically updated. You should be able to use this feature. If your AMPPS Enduser Panel is updated you should be able to see "Powered By AMPPS 1.7" in the footer of Enduser Panel i.e http://localhost/ampps Now in AMPPS while adding a domain, Go to Advance Settings and Select "Add an Entry to Host file". By doing this entry will be created automatically by AMPPS. Also when you delete a domain that entry will be deleted. Please let us know if you're facing any issues. Also let us know if you have any suggestions. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: tidus on April 10, 2012, 5:12 am | Post: 9 |
Hi,
Sorry my mistake. Only in Windows, its possible to use that feature without updating the whole package. You will have to setup a whole new version of Ampps 1.7 from http://www.ampps.com/download. In fact we would recommend every Mac user to install new version of AMPPS. Because now the new version of AMPPS can be easily updated with just one click as and when the update is available. Note: Now there are two things in AMPPS 1.7 that gets updated: 1. AMPPS Binary i.e (AMPPS Control Center, PHP, Apache, MySQL, phpMyAdmin, etc) is updated with a click of a button. 2. Softaculous in AMPPS i.e (Enduser/Admin Panel) which is automatically updated even in former versions. Edited by tidus : April 10, 2012, 6:29 am ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: dummy92 on April 10, 2012, 2:23 pm | Post: 10 |
Hi Tidus,
Works perfectly now, thanks! |
Posted By: ketan on April 10, 2012, 2:35 pm | Post: 11 |
Hi,
Please let us know if you need any further information. ----------------------- Follow AMPPS on, Google+ |
Posted By: tidus on April 30, 2012, 4:17 am | Post: 13 |
Quote From : abgar April 28, 2012, 9:51 pm Quote From : tidus April 10, 2012, 4:39 am Now in AMPPS while adding a domain, Go to Advance Settings and Select "Add an Entry to Host file". By doing this entry will be created automatically by AMPPS. . Let me ask as do not get it: why AMPPS modifies hosts file ? I am running Apache for few years and I have never modified hosts files - it was not necessary - virtual do, are working with httpd.conf modified. Hi, The hosts file helps resolving domain names to IP address. As AMPPS doesn't provide DNS server we are giving an option to add an entry to host file. If user has DNS server configured then they don't have to add an entry. Edited by tidus : April 30, 2012, 4:17 am ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |