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 |
Posted By: abgar on May 12, 2012, 6:21 pm | Post: 15 |
Forgot to mention: entry in hosts file added |
Posted By: abgar on November 27, 2012, 11:31 am | Post: 17 |
Is problem fixed in new releases ? |
Posted By: tidus on November 27, 2012, 11:49 am | Post: 18 |
Quote From : abgar November 27, 2012, 11:31 am Is problem fixed in new releases ? Hi, What issue are you facing ? ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: abgar on November 28, 2012, 1:25 pm | Post: 19 |
Please take a look in our previous corespondence. In Ampps 1.7 virtual hosts were created in bad way ( via admin panel ). |
Posted By: tidus on November 28, 2012, 1:42 pm | Post: 21 |
Quote From : abgar November 28, 2012, 1:32 pm Quote From : abgar November 28, 2012, 1:25 pm Please take a look in our previous corespondence. In Ampps 1.7 virtual hosts were created in bad way ( via admin panel ). Ticket no #330123 Hi, We tested creating Domains on local environment they are working fine. We haven't tested it on production environment. It is not recommended to use on production server. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: abgar on November 29, 2012, 11:14 am | Post: 22 |
In my opinion it is still done in a wrong way.
Ammps creates virtual host as follows: < VirtualHost example.com:80> while it should be: <VirtualHost *:80> Take a look at Apache examples: http://httpd.apache.org/docs/2.2/vhosts/examples.html In no example domain name ( example.com) follows VirtualHost. Supposely it works for You locally after You modify hosts file, but it is not the right way. |
Posted By: tidus on November 29, 2012, 12:23 pm | Post: 23 |
Hi,
I know. To make domains work locally we had to do these changes. We tried <VirtualHost *:80> but it redirected us to localhost ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: abgar on December 7, 2012, 10:27 am | Post: 27 |
I am shurely not server guru but network routing and shaping is my job |
Posted By: tidus on December 7, 2012, 12:25 pm | Post: 28 |
Hi,
Yes. I will say it again, AMPPS is for local development. The way it is working now is for "local network". All the changes made in httpd-vhosts.conf are handled by AMPPS and will be rebuild by it. Configuration built by it should work in local network. We might add an option as you have suggested. In case this feature is not added you can create a conf file manually as you are doing now. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |
Posted By: warpieke on December 12, 2012, 12:57 pm | Post: 30 |
Quote From : abgar November 29, 2012, 11:14 am In my opinion it is still done in a wrong way.
Ammps creates virtual host as follows: < VirtualHost example.com:80> while it should be: <VirtualHost *:80> Take a look at Apache examples: http://httpd.apache.org/docs/2.2/vhosts/examples.html In no example domain name ( example.com) follows VirtualHost. Supposely it works for You locally after You modify hosts file, but it is not the right way. ----------------------- What i dont K'now must be born... ON internet from 88/89 , working with computers from the year 1982 c64 , comodore , amiga and ect bbs |
Posted By: tidus on September 27, 2013, 6:29 am | Post: 33 |
Hi,
It is not a bug, we don't support production environment yet. ----------------------- Follow AMPPS on, Twitter : https://twitter.com/AMPPS_Stack Facebook : http://www.facebook.com/softaculousampps Google+ : https://plus.google.com/+AmppsStack |