Adding virtual hosts to Apache

November 24, 2005 | In Developer

Using a text editor, locate the C:\Program Files\Apache Group\Apache2\conf folder and edit the httpd.conf file, adding the following at the end:

Listen 8081

DocumentRoot “C:\Path\To\Your\Website\Folder”

I’m using port 8081 (one up from my default 8080) as I ran into network trouble with 9000 although this is apparently acceptable.

See my preview post on WAMP: Apache, MySQL and PHP on Windows (DIY install) for further advice. Your mileage may vary.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Pownce
  • Technorati
  • YahooMyWeb

No Comments yet

Sorry, the comment form is closed at this time.

© 2008 Martin Crockett. Sitemap. RSS Entries and comments feeds. Valid XHTML and CSS. ^Top^