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

  • Home
  • SEARCH
  • 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 3313988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:10:46+00:00 2026-05-17T22:10:46+00:00

I am developing a site and that that is managed by two. one is

  • 0

I am developing a site and that that is managed by two. one is me and the other is the designer accessing from different machines across LAN.

Conf: php, apache, windows xp, mysql.

Document root: d:\www\xampp\htdocs. all the projects are under this as subfolders.

I have set up virtual host so that i will not access all the projects as http://localhost/foldername but just as http://foldername.

But for the designer who is in the other system he has to access like http://computername/foldername

For example let me be working in a project payroll. i will access that as http://payroll but my designer will access that as http://computername/payroll.

What i want to do is i want the designer to access the same way i access. that is http://payroll.

so that in the designer system when the server name is payroll i want it to be directed to my machine and then to the project folder. so if he gives http://payroll then the application in my system should run for him.

i have setup the hosts file in the designer system to point to my machine. so this work is done and when he gives payroll my http://localhost is appearing.

what should i do so the designer can access my project like http://payroll form his system?

  • 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-05-17T22:10:46+00:00Added an answer on May 17, 2026 at 10:10 pm

    The designer has to add your IP address with each sitename to his hosts file as without it his browser won’t know where to look for the site. It could look like this:

    12.34.56.78 sitename1
    12.34.56.78 sitename2
    12.34.56.78 repeat.for.each.sitename
    ...
    

    This might be enough if your VirtualHosts are not bound to a specific IP address. This would not work:

    NameVirtualHost 127.0.0.1:80
    
    <VirtualHost 127.0.0.1:80>
        ServerName sitename1
        ...
    </VirtualHost>
    

    It should be:

    NameVirtualHost *:80
    
    <VirtualHost *:80>
        ServerName sitename1
        ...
    </VirtualHost>
    

    This way apache will serve the site called sitename whenever it sees a request with the hostname sitename and it won’t matter if it came from the same computer or not.

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

Sidebar

Related Questions

I'm developing a site right now that I've been working on for more than
I have an ASP.NET site that I'm developing. The layout is pretty basic. The
On an ASP.NET MVC (Beta) site that I am developing sometimes calls to ActionLink
I am developing a website that relies much on XML data. The web site
I'm developing a PHP website that uses url routing. I'd like the site to
I'm developing a site in Visual Web Dev Express, and when I run/debug, I'd
I've been developing a site using ASP.NET MVC, and have decided to use the
Currently I am developing a site with about seven partial classes, a few icons,
I'm developing a site-specific Firefox extension. The official hosting/updating mechanism at addons.mozilla.org forces my
I am developing a site using asp.net and C# ( framework 1.1 ). Theres

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.