Forum Moderators: phranque

Message Too Old, No Replies

How do I get my site to be accessable without www

www.example.com works but not example.com

         

MediaSpree

6:34 pm on Jul 16, 2005 (gmt 0)

10+ Year Member



Where can I set it up so that when someone types just "example.com" it hits my page in addition to to "www.example.com" (where example of course is my site name) I assume its on my webserver (but don't know how) I am running a windows web server. Thanks for your help

Anyango

6:39 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually i am sorry but this issue looks strange to me. because you know example.com is the actual domain and "www" is just a sub-domain of example.com so in any case if one has to work, it should be example.com , how can www.example.com work and example.com not.

First you need to check your registrar, if this is something with them? which i think is negative.

Then it might be the case that your server alias would be set with www.example.com instead of being without it.

Please run these two checks and lets see what you find out.

Thanks

Kami

MediaSpree

6:45 pm on Jul 16, 2005 (gmt 0)

10+ Year Member



Thanks for the quick reply. My registrar is godaddy.com so I don't think anything is wrong with them.

Server alias..i need to go to the other room to check but i belive i have both www.example.com and example.com is this bad?

when i type just example.com it jsut gives me "no website is configured at this address" (I have access to the web server but am not the head administrator so I don't know what he's set up on there)

Anyango

6:54 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey

I think i have got your issue

it looks like

your www.domain.com is setup to land in any other directory and domain.com is setup to land in anyother.

Just ask your administrator to setup both of them i mean

[domain.com...]
[domain.com...]

to go in ONE, SAME directory on the server

for example

currently it might be like this

example.com="C:/inetpub/wwwroot/example.com"
www.example.com="C:/inetpub/wwwroot/www.example.com"

you just need to set it like this

example.com="C:/inetpub/wwwroot/example.com"
www.example.com="C:/inetpub/wwwroot/example.com"

or vice versa but both should go in one single directory.

i think most definitely this would be the issue.

Please leme know your findings so that we can check further if this doesnt get resolved.

Span

7:00 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



MediaSpree, it looks like a DNS problem. Your zonefile should look like this:

example.com A 123.123.123.123
www A 123.123.123.123
mail A 123.123.123.123
pop A 123.123.123.123
* A 123.123.123.123

Note "example.com" and "www". Those two records make the domain accessable with and without the "www".

MediaSpree

7:07 pm on Jul 16, 2005 (gmt 0)

10+ Year Member



Thanks for all your help. I was able to resolve the issue by adding the host header "example.com" to the "advanced Multiple website configuration" button(whihc is a button marked "advanced" next to IP Address in website configuration) Previously it only had "www.example.com" One weird thing that got it to work...I had to close ISS Manager after I made the change for it to work (I spent about 25 tries changing things w/o closing the manager when I had it right the first time!) Thanks again! Heres to hoping for some more type-in traffic!

Anyango

7:17 pm on Jul 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Cheers!