#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    4
    Rep Power
    0

    Question How to solve the "moved permanently" error?


    Hello,

    I do own a domain name that I can access using the www prefix.

    Each time I try to open the same domain name without the www prefix I get a "moved permanently" error message.

    Which steps should I take to avoid that error message?

    Thank you
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,056
    Rep Power
    9398
    Does your browser have automatic redirects disabled?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    4
    Rep Power
    0
    no. I can enter other domain names without the www prefix and it works.
    I wonder whether I have to do something with my domain name.
    thx
  6. #4
  7. Type Cast Exception
    Devshed Supreme Being (6500+ posts)

    Join Date
    Apr 2004
    Location
    OAKLAND CA | Adam's Point (Fairyland)
    Posts
    14,954
    Rep Power
    8617
    Speaking of moving permanently, moved to DNS (for domain name server issues) from Business Help (for chatter about legal documents and such) ...

    :-)
    medialint.com

    “Today you are You, that is truer than true. There is no one alive who is Youer than You.” - Dr. Seuss
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    4
    Rep Power
    0
    Sounds good indeed. Thank you for the organizational initiative.
  10. #6
  11. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    Originally Posted by Chris Hote
    Sounds good indeed. Thank you for the organizational initiative.
    Guess I'll take it from here then.... How is your domain setup? Are you handling your own DNS? Is this hosted somewhere else? If hosted somewhere else, you probably have an area that allows you to set redirects... you can set a permanent redirect from domain.com to www.domain.com ....

    If you're hosting yourself, then you can setup an alias within Apache (if you're using Apache) and/or a rewrite rule.

    If you're handling your own DNS, then you would need to make sure you have an A record setup for www.domain.com as well as domain.com (or have a wildcard DNS setup).
    "I don't need to get a life. I'm a gamer. I have lots of lives!"
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    4
    Rep Power
    0
    This domain is hosted somewhere else. I am guessing from your answer I may get some further support from my hosting provider, right?
  14. #8
  15. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,436
    Rep Power
    4539
    Just a guess.

    Is https involved? Some time ago I had a mailserver behind a router and neglected to open port 443 in the router, although the server firewall was properly configured. I got the same error when opening squirrelmail on the server with a web browser from outside the router (squirrelmail is a web-based email client program). When squirrelmail tried to redirect to using https, it couldn't because the port was closed in the router, and both FF and IE ended up logging a 302 object moved as the last thing in the httpd log.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  16. #9
  17. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    Originally Posted by Chris Hote
    This domain is hosted somewhere else. I am guessing from your answer I may get some further support from my hosting provider, right?
    If it's hosted somewhere else, then your best bet would be to talk to them as they know how their servers are configured. There may even be something in the FAQ section or knowledgebase section of their website. A lot of hosting providers have a live chat option as well, so you may be able to just do that if they offer it, so they can help you realtime as opposed to waiting for email responses.
    "I don't need to get a life. I'm a gamer. I have lots of lives!"
  18. #10
  19. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Sep 2007
    Location
    outside Washington DC
    Posts
    2,642
    Rep Power
    3699
    you just need to add www as a legal alias in your bind zone file

    coolname.com. A 7.18.24.214

    www cname coolname.com.

IMN logo majestic logo threadwatch logo seochat tools logo