www.webdeveloper.com
Results 1 to 3 of 3

Thread: apache 2.2.11 on vista Virtual Hosts

  1. #1
    Join Date
    Apr 2006
    Posts
    77

    apache 2.2.11 on vista Virtual Hosts

    Hi

    Im a bit new to apache server and more used to IIS but trying to convert but finding it really hard

    Im trying to get virtual hosts working on windows vista, Im using apache 2.2.11, apache is working becuase I get the 'It Works' Message when I go to localhost

    I have this in my httpd-vhosts.conf file:

    <VirtualHost *:80>

    DocumentRoot C:/work/mysite

    ServerName mysite.dev

    </VirtualHost>

    but when I go to http://mysite.dev i get page not found

    I hope someone can help maybe I have forgot something really obvious
    Thanx

  2. #2
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    Try adding the following line to the hosts file:

    127.0.0.1 mysite.dev

    Without finding that in the hosts file on your computer the query will get passed to a DNS on the web and the site will not be found because none of them lnow that the domain is on your computer.
    Stephen

  3. #3
    Join Date
    Apr 2006
    Posts
    77
    Hi, thanks
    I've done that but it no luck. Could it be permissions on the folder?

    Thanks again

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles