Jump to content

Xampp/Wamp Freeware virtual host manager


Recommended Posts

I know how to create a virtual host, however i have recently been getting alot of business and have to set this up way to often. I also need to enable clean urls so each site needs to have its own root.  Does anyone know of a way to automate this? It would make my life much easier. Perhaps a freeware app that adds the info to your hosts file and to your apache http.conf file? I havnt been able to find anything on google :(

 

If not do you have a different method you would care to share?

Link to comment
https://forums.phpfreaks.com/topic/195823-xamppwamp-freeware-virtual-host-manager/
Share on other sites

Hmmm...I actually wrote a how-to for ubuntu to autogen virtualhosts.  If you want to see it, you can go to my wife's site to view the article.  Basically, it will autogen the sites-available and symbolically link it to sites-enabled, but only if the domain is linked to the IP for your eth0.  Once you have the script set up, and the folders created, it's as simple as

adddomain yourdomain.tdl
/etc/init.d/apache2 restart

and that's it!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.