Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

thepix
Joined: May 11, 2005
# Posts: 2

View the profile for thepix Send thepix a private message

Posted: 05/11/2005 04:54 pm
Edit Message Delete Message Reply to this message

Hi, I am working on my companies website and there is one thing that is a bit of an annoyance. When you type www.mycompanysite.com you get to the page no problem, however when you only type mycompanysite.com without the www you get a page can not be displayed error.

I have a hunch it is because the secondary DNS is not set up properly but I am not certain.

Any help with this would be greatly appreciated.



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10183

View the profile for g1smd Send g1smd a private message

Posted: 05/12/2005 05:06 am
Edit Message Delete Message Reply to this message

Leave it as it is, it is quite safe. Moset sites are accessed via a www prefix anyway.

Or, set it up so that non-www does also access the content, but does so via a 301 redirect from non-www to www. Failure to include the redirect will stuff up your results in Google due to the way they treat "duplicate content".



thepix
Joined: May 11, 2005
# Posts: 2

View the profile for thepix Send thepix a private message

Posted: 05/12/2005 08:56 am
Edit Message Delete Message Reply to this message

But how do I set it up so that it will go to the non-www address?

Thanks!



excell
Moderator
Joined: Mar 19, 2001
# Posts: 14502

View the profile for excell Send excell a private message

Posted: 05/12/2005 09:01 am
Edit Message Delete Message Reply to this message

You want to set it up so that nonwww goes to www. via a 301 redirect - search for 301 redirect & your server type. Try this...



g1smd
Moderator
Joined: Jul 28, 2002
# Posts: 10183

View the profile for g1smd Send g1smd a private message

Posted: 05/12/2005 11:37 am
Edit Message Delete Message Reply to this message

>> But how do I set it up so that it will go to the non-www address? <<

I assume that you don't want to redirect www to non-www. That would not help you at all. I assume that you just want to make non-www accessible.

You'll need to add an entry in the main config file, I suspect. I believe the entry is under the ServerAlias section somewhere.

Your DNS settings might also need to be altered if that doesn't fix it.

You will need to set up a 301 redirect to resolve to just one URL, otherwise you will be serving duplicate content - and that will cause you a lot of problems.



excell
Moderator
Joined: Mar 19, 2001
# Posts: 14502

View the profile for excell Send excell a private message

Posted: 05/12/2005 07:04 pm
Edit Message Delete Message Reply to this message

I might mention this is possibly something that your hosting company should do for you, if you do not have access.


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions