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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:37:08+00:00 2026-05-27T14:37:08+00:00

My virtual host configuration looks like this: Listen 80 … DocumentRoot /www/mysite … <Directory

  • 0

My virtual host configuration looks like this:

Listen 80
...
DocumentRoot "/www/mysite"
...
<Directory "/www/mysite">
   Options Indexes FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>
...
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>
...
NameVirtualHost *:80
...
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    ServerName theag.com
    ServerAlias www.theag.com
    DocumentRoot "/www/mysite"
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

Although the localhost works, when I try to connect to the ServerName theag.com as described in the VirtualHost section, I get a Server not found.
What am i doing wrong? or What am I supposed to do to get it it working?

p.s. ... signifies the configuration lines in between.

Workaround : For testing purposes this is what I have done:

I just edited the /etc/hosts,
from
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
to
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 theag.com
www.theag.com
.

This will get it to work. You will be using the 127.0.0.1 as the ip-address for now.

  • 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-27T14:37:08+00:00Added an answer on May 27, 2026 at 2:37 pm

    You have to arrange the domain’s DNS to point to your server’s IP address. If theag.com is the actual name, it’s currently not associated with any IP address (neither is www.theag.com). Talk to the folks who manage your nameservers.

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

Sidebar

Related Questions

Using this rule in a virtual host configuration file leads to double escaping of
Hi does this virtual host configuration is ok?. I,m trying to test it in
I have a virtual host setup on Apache 2 like so (simplified): <VirtualHost *>
In my Apache 2 config I have a VirtualHost which looks something like this:
In apache configuration file (i.e., httpd.conf) we had virtual host configuration, which is working
I'm currently using name-based virtual host configuration, to server about 5 different websites from
I'm making a really simple virtual host administrator in my office intranet (on a
Is it possible to set a virtual host in WebLogic only ? In my
HELP! I just setup a virtual host for two sites that have a lot
In the previous versions of Virtual PC, the Host's CD/DVD drives just get assigned

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.