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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Hosting Requirements /

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

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

Setting up Hosting - problems


Go to End


3 Posts   2735 Views

Avatar
Valorinbattle

Community Member, 95 Posts

20 February 2009 at 10:28am

I've just completed my first Silverstripe site locally and am wanting to upload it to my host (Bluehost.com).
I'm getting 404 Not Found errors - "The requested URL /CityCareClinic/sapphire/main.php was not found on this server."
I removed "CityCareClinic" (the folder in WAMP) and I get errors saying it can't access the MySQL database.

Any help would be appreciated.
~ James

Avatar
Willr

Forum Moderator, 5523 Posts

20 February 2009 at 5:42pm

Have alook in your .htaccess on the live site. Because you installed in a subdirectory with WAMP it may have hard coded that folder name in the 'RewriteBase' line in that file. You will just need to change that line to / on the live site

Avatar
Valorinbattle

Community Member, 95 Posts

23 February 2009 at 3:45pm

Thanks again Willr! That fixed it.