Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Hosting Requirements /

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

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

Nameservers, CPanel and maybe some other bits...

Go to End



Community Member, 33 Posts

27 December 2010 at 2:17pm

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:

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:

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 ^(.*)$$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 :))