Jump to:

558 Posts in 3569 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Hostgator?

What you need to consider when choosing a hosting provider and plan.

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

Page: 1
Go to End
Author Topic: 1373 Views
  • violetflowers
    Community Member
    1 Post

    Hostgator? Link to this post

    Has anyone used Hostgator when installing SS?

  • Willr
    Forum Moderator
    5497 Posts

    Re: Hostgator? Link to this post

    Never used hostgator but what issues are you running into? most problems aren't limited to just one provider.

  • janorbur
    Community Member
    2 Posts

    Re: Hostgator? Link to this post

    I have a test site running on Hostgator and may move a production site there soon. Had a heck of a time getting mod_rewrite to work. We ended up with an .htaccess that looks like:

    <Files *.ss>
       Order deny,allow
       Deny from all
       Allow from

    <Files web.config>
       Order deny,allow
       Deny from all
    ErrorDocument 404 /assets/error-404.html
    ErrorDocument 500 /assets/error-500.html

    <IfModule mod_alias.c>
       RedirectMatch 403 /silverstripe-cache(/|$)

    <IfModule mod_rewrite.c>
    DirectoryIndex index.php
    RewriteEngine On
       RewriteBase /

       RewriteCond %{REQUEST_URI} ^(.*)$
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

    The big problem we had was that "index.php" would remain in the page paths. This was only fixed by changing the perms on the sapphire directory to 755 from the installed 775. I don't know if the 775 perms were from the original install or an artifact of having copied the directory structure from another server but it solved the problem.

  • Mrfixer
    Community Member
    49 Posts

    Re: Hostgator? Link to this post

    Yeah running a test site on hostgator isnt the most easiest of things due to how mod_rewrite is handled, i gave up trying to mod_rewrite when running a dev site on there, i contacted HG support and they just said go with what im doing, work on the site and once my clients ready to move from his old host company over to HG and his brand spanking website it would resolve itself when the DNS was switched, to aid that process though i had to have two .htaccess like this http://www.silverstripe.org/installing-silverstripe/show/16895 (see my post for the .htaccess codes and explanation), as soon as that was done everything went perfectly on the DNS switching.

    @janorbur will be starting a new SS dev on HG this coming tuesday so will give your .htaccess a whirl, regards

  • DanStephenson
    Community Member
    115 Posts

    Re: Hostgator? Link to this post

    I've hosted a few dozen SilverStripe sites with HostGator, and never had an issue.

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.