Jump to:

23355 Posts in 17734 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » From hosting IP to domain and getting 404s - argh!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 855 Views
  • IanP
    Avatar
    Community Member
    5 Posts

    From hosting IP to domain and getting 404s - argh! Link to this post

    Hi,

    Really weird one this and I'm sure this is just my newbness.

    I've been building a site on my web hosting server and access it via an IP address until my client decided what domain they wanted. They've now registered this domain and pointed it to my server's IP (sems to resolve fine), but the site just throws 404s no matter what page I access (root or sub-page).

    Is there some configuration change I need to make now I want to access through a domain. I took at look at the _config.php, but there's nothing very interesting in there.

    Thanks for any help! It's driving me nuts.

    Ian

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: From hosting IP to domain and getting 404s - argh! Link to this post

    Are you getting silverstripe 404 pages, or actual server 'no page found' pages?

    The other place to look is you .htaccess file.

  • IanP
    Avatar
    Community Member
    5 Posts

    Re: From hosting IP to domain and getting 404s - argh! Link to this post

    You, sir, are a life saver!

    Bang on. It was the .htaccess, which was set to /~clientname. Reset it to / and it works a treat.

    Thanks!

    Ian

    855 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.