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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:06:51+00:00 2026-06-17T05:06:51+00:00

I have a local Apache server running on the network and I’ve got a

  • 0

I have a local Apache server running on the network and I’ve got a number of tester machines. I want to be able to connect to a specific website on the localhost, at the moment it just connects to the first website.

For example: 192.168.1.125/mywebsite.

I’ve looked around I cannot find the method of conneciton, I know it’s something really simple but everywhere I look answers a different problem. (Maybe this is too simple).

So basically I’m asking, how do I access the other servername though the browser. (setup is like so:)

<VirtualHost *:80>
  DocumentRoot c:/vhosts/website1
  ServerName website1
</VirtualHost>

<VirtualHost *:80>
  DocumentRoot c:/vhosts/website2
  ServerName website2
</VirtualHost>

I’ve tried
192.168.1.125~mywebsite
192.168.1.125:80/mywebsite.
192.168.1.125-mywebsite.

Can anyone help me here? Also what’s the English for this? Namespace? Name-server or something?

*I get the error “Object not found” with these.

  • 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-17T05:06:53+00:00Added an answer on June 17, 2026 at 5:06 am

    Name-based serving of apache is based on the actual hostname in the request. To make this work, you have to be able to reference that IP by any names you need. You have to be able to do http://hostname/ and not http://IP for name-based virtual hosts to work.

    You can do this either with a hosts file (for a single host) or over DNS. Neither is a programming problem though.

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

Sidebar

Related Questions

I have an apache server running on my local machine. I can connect to
for a certain folder on my local Apache-Server (running with Ubuntu) I'd like that
I have set up an Apache server running locally that hosts my web application
I have the domain example.com and the test.example.com running on apache server. For some
I have a git repo hosted on an apache 2.2 server running as a
I have very specific problem running PHP as Apache 2.2 module. When running PHP
I have local apache server, and I need to pass all requests from php
I'm currently running an Apache server (2.2) on my local machine (Windows) which I'm
I have a running server with apache and Socket.IO. I'm trying to send and
If you want to develop against WordPress (i.e., have a local instance running on

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.