Author |
|
Marge
Joined: 25 Aug 2009 Posts: 22
|
Posted: Tue 25 Aug '09 9:44 Post subject: DNS or Apache config problem? |
|
|
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
|
Posted: Tue 25 Aug '09 14:07 Post subject: |
|
|
If you setup a vhost alias it should work. Did you defined both?
e.g.
can you resolve example.com on the commandline
e.g.
|
|
Back to top |
|
Marge
Joined: 25 Aug 2009 Posts: 22
|
Posted: Wed 26 Aug '09 12:58 Post subject: |
|
|
James Blond wrote: | If you setup a vhost alias it should work. Did you defined both?
e.g.
can you resolve example.com on the commandline
e.g.
|
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
|
Posted: Wed 26 Aug '09 15:25 Post subject: |
|
|
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
|
Posted: Thu 27 Aug '09 13:05 Post subject: |
|
|
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
|
Posted: Thu 27 Aug '09 17:40 Post subject: |
|
|
Ask the one who manages your DNS. |
|
Back to top |
|
Marge
Joined: 25 Aug 2009 Posts: 22
|
Posted: Fri 28 Aug '09 10:35 Post subject: |
|
|
I asked and they make one addition. Now I wait...
#edit:
It's working now... Thanks! |
|
Back to top |
|