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
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!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.