Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8200641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:31:12+00:00 2026-06-07T06:31:12+00:00

I have IIS installed on my windows 7 which uses default port 80 and

  • 0

I have IIS installed on my windows 7 which uses default port 80 and can be accessed at http://localhost. Now I have installed XAMPP as well and set the port 8081, so I can access it at http://localhost:8081.

Now, I want to add virtual host only for the xampp so that I can access it via http://test/ instead of http://localhost:8081. I dont want to make any changes in IIS address and want to keep its address same. For that purpose, I have added virtual host in my xampp/apache/conf/extra/httpd-conf file ie.,

NameVirtualHost *:8081
<VirtualHost *:8081>
    ServerAdmin admin@localhost.com
    DocumentRoot "C:/xampp/htdocs"
    ServerName test
    ServerAlias test
</VirtualHost>

I have restarted the apache but still can not access the address http://test. Am I missing something or doing something wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:31:14+00:00Added an answer on June 7, 2026 at 6:31 am

    You have made XAMPP listen on Port 8081 rather thank 80 meaning that

    http://test/
    

    needs to be

    http://test:8081/
    

    Without a port number in a URL you are just referring to the default port (I.e. port 80 for http)

    Update:
    This is actually possible, however IIS and Apache (XAMPP) need to use different IP addresses and only bind to port 80 on there own IP address.
    http://www.iislogs.com/steveschofield/iis7-post-44-iis7-and-apache-on-the-same-machine

    If you can’t touch IIS then the only alternative would be to use a proxy script to show a site on IIS which would proxy to 8081.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

O/S: Windows 7 ,Home Premium I have just installed IIS manager Express from Web
I have a Windows 2003 Server with IIS, I installed VisualSVN Server on it.
I have Windows XP + IIS + PHP (fastcgi) installed. I want to use
I have recently tried to install TargetProcess http://www.targetprocess.com/ on my windows machine, which involves
I have a application written in C#, installed as a [WCF] windows service, which
I am using IIS 7.0 + Windows Server 2008 x64. I have installed .NET
I have XAMP 1.6.8 and IIS 5.0 installed on my PC(Windows XP SP3). I'm
I have configuired PHP 5.3 on IIS 7 using the following instructions: http://www.php.net/manual/en/install.windows.iis7.php and
I have ImageMagick, IIS 6, Ghostscript, and PHP 5.3.1 installed on a Windows Server
I have already running IIS in my windows XP. I have also install wamp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.