Jump to:

558 Posts in 3573 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Nameservers, CPanel and maybe some other bits...

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: 831 Views
  • edwardlewis
    Community Member
    32 Posts

    Nameservers, CPanel and maybe some other bits... Link to this post

    Hey everyone.. this might be something simple or complicated, not really sure! There seems to be something wrong, potentially with a silverstripe install or something on our server. I will try to give as much info as poss!

    Here is our (nearly completed) company website: http://assembleonline.co.uk/

    We have our nameservers, which we use for clients sites as:


    All seems ok so far? Well, the problem I have encountered is when we set up new sites in CPanel. None of the links that cpanel provides which use the IP address seem to work.. I cant work out where the problem is.

    For example, this website: http://www.l3contracts.com/

    should be available here:

    However, if you click on the link, it goes through to a 404 error page on our company site. Is there something that needs adding to the htaccess file on our main site to stop the 404 page being shown?

    I have added in some code to the htaccess folder to allow us to create additional directories on the server, and also to redirect the www to non www version of the site. The code looks like this at the moment:

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

    <Files web.config>
       Order deny,allow
       Deny from all

    <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{HTTP_HOST} ^www\.assembleonline\.co\.uk$ [NC]
       RewriteRule ^(.*)$ http://assembleonline.co.uk/$1 [R=301,L]
       RewriteCond %{REQUEST_URI} ^(.*)$
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

    Thanks in advance )

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.