logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: DNS or Apache config problem?
Author
Marge



Joined: 25 Aug 2009
Posts: 22

PostPosted: Tue 25 Aug '09 9:44    Post subject: DNS or Apache config problem? Reply with quote

Hello, at I have a webserver running apache.
The problem is that is only work by typing www.example.com.
When I type example.com it does not load. Is this a problem that I can solve with redirection or I must tell the ISP to operate in the DNS?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 25 Aug '09 14:07    Post subject: Reply with quote

If you setup a vhost alias it should work. Did you defined both?

e.g.
Code:

ServerName example.com
ServerAlias www.example.com


can you resolve example.com on the commandline

e.g.
Code:

ping example.com
Back to top
Marge



Joined: 25 Aug 2009
Posts: 22

PostPosted: Wed 26 Aug '09 12:58    Post subject: Reply with quote

James Blond wrote:
If you setup a vhost alias it should work. Did you defined both?

e.g.
Code:

ServerName example.com
ServerAlias www.example.com


can you resolve example.com on the commandline

e.g.
Code:

ping example.com

Nope...
Code:
Ping request could not find host example.com Please check the name and try again.


I'll try whost.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 26 Aug '09 15:25    Post subject: Reply with quote

If you can't ping it. The DNS is only set for www.example.com, but not example.com. Very unusual, but possible.
Back to top
Marge



Joined: 25 Aug 2009
Posts: 22

PostPosted: Thu 27 Aug '09 13:05    Post subject: Reply with quote

Can I ask the ISP to make an addition on their servers?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 27 Aug '09 17:40    Post subject: Reply with quote

Ask the one who manages your DNS.
Back to top
Marge



Joined: 25 Aug 2009
Posts: 22

PostPosted: Fri 28 Aug '09 10:35    Post subject: Reply with quote

I asked and they make one addition. Now I wait... Smile

#edit:
It's working now... Thanks! Very Happy
Back to top


Reply to topic   Topic: DNS or Apache config problem? View previous topic :: View next topic
Post new topic   Forum Index -> Apache