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 6738321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:21:12+00:00 2026-05-26T11:21:12+00:00

I am using my local machine as a development server. I have my hosts

  • 0

I am using my local machine as a development server. I have my hosts file set up as such:

127.0.0.1   localhost
127.0.0.1   cdog24
127.0.0.1   xxxxxorg
127.0.0.1   newintranet

My httpd-vhosts.conf file is set up as follows:

NameVirtualHost *:80

<VirtualHost *:80>
    DocumentRoot "D:\Webserver\htdocs"
    ServerName localhost
    ServerAlias localhost
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "D:\Webserver\htdocs\cdog24"
    ServerName cdog24
    ServerAlias cdog24
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "D:\Webserver\htdocs\xxxxxorg"
    ServerName xxxxxorg
    ServerAlias xxxxxorg
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "D:\Webserver\htdocs\newintranet"
    ServerName newintranet
    ServerAlias newintranet
</VirtualHost>

I am running xampp and can access each site on my local machine respectively by typing in:

http://localhost
http://cdog24
http://xxxxxorg
http://newintranet

When i go to a different computer on my network, I assume I have to type int he name of my machine or use the IP address. So, when I type in the following:

http://machinename/cdog24 or http://10.1.0.24/newintranet

I am taken to a 404 page.

What am I missing? Firewall on local machine or network do not factor as they are both off. I am on a Windows 7 local machine, the remote machine is also Windows 7.

Thanks for any help.

  • 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-26T11:21:18+00:00Added an answer on May 26, 2026 at 11:21 am

    You will need to edit the hosts file on the remote machine (where the browser is running, not the server):

    x.x.x.x   cdog24
    x.x.x.x   xxxxxorg
    x.x.x.x   newintranet
    

    Change x.x.x.x to the IP address of the Windows box that is running the server.

    Now you should be able to browse to, say http://cdog24/ in your browser.

    However, do NOT add a localhost entry that points to the other machine. localhost should always point to 127.0.0.1!

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

Sidebar

Related Questions

Can any data exchanged on a local machine using the loopback IP 127.0.0.1 (localhost)
I have a development machine that is local and a server out on the
I am building an internet site, using my local machine as the development box
I have this membership site setup on my local machine using the ASP.NET membership
I have build a webapplication using ASP.NET MVC and JQuery. On my local machine
I have installed VSTFS on a machine using the local admin. Now the machine
I'm using a local machine for development that needs to allow Admin Party (everyone
I have a development computer and a testing (http://testing/) server set up on my
I have a local test/development server (HTTP, of course), listening to port 8000. I'm
I have a production server running, and a local development one (this one uses

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.