Not Equal C && !=C && 不等于西
RSS icon Email icon Home icon
  • Setting up virtualhost in Apache on Windows XP

    Posted on April 27th, 2010 Sean Add comments

    1.Configuring Apache
         The first file need to edit is the Apache httpd.conf file. Usually, it’s under the root folder where the Apache was installed.
         If IIS is also used on Windows, IIS will use 80 port first, so need to change the port number of Apache server, e.g. change port 80 to 8080

         Then, add new virtualhost

         In the end, need to define the permissions of the virtualhost directory:


    2.Resolving the DNS issue
         Obviously, if typed “http://sub.localhost” in your browser, it would not be found by your Internet provider’s DNS server, and still need modify the files called “hosts”. It’s under “C:\Windows\system32\drivers\etc\”, and just add the new sub domain to the file:

    1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading...Loading...
    828 views

    Leave a Reply

    Be the First to Comment!