# Moving a website from one host to another

**URL:** https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332
**Category:** Using Concrete / Help
**Created:** [October 18, 2023, 7:36am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332 "2023-10-18T07:36:11Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wattsyourwebsite](https://forums.concretecms.org/user_avatar/forums.concretecms.org/wattsyourwebsite/32/3495_2.png) [@wattsyourwebsite](https://forums.concretecms.org/u/wattsyourwebsite)
#### Post date: [October 18, 2023, 7:36am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/1 "2023-10-18T07:36:11Z")

</div>

I am assisting this client with a move of their Concrete5 website from one hosting provider to another.

I copied the files to a new sub-directory  
I have created a new MySQL database and imported the database

Changed the script.php file to point to the new db etc. But I am not familiar with Concrete5 - can it be run on the same instance where we have Wordpress running for another website?

## I am getting this error:

# This page isn’t working

**www.domainname.com.au** is currently unable to handle this request.

## HTTP ERROR 500

Any assistance here would be most appreciated.

---

<div class="post-metadata">

### Author: ![mesuva](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mesuva/32/4014_2.png) [@mesuva](https://forums.concretecms.org/u/mesuva)
#### Post date: [October 18, 2023, 9:04am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/2 "2023-10-18T09:04:20Z")

</div>

Some things to check:

- you’ve mentioned script.php. I’m assuming you actually mean `/application/config/database.php`, that’s where the database credentials need to be changed
- often you need to manually clear a site’s cache after moving a site. Sometimes you can log in to do this via the ‘clear cache’ page in the dashboard, but if not, I normally delete the folders within `/application/files/cache` _except_ for the thumbnails folder
- make sure that where you’ve moved the site is using a compatible PHP version. Occasionally you may also need to enable some PHP modules too.
- If you are moving a site to a sub-folder, you may also need to adjust your .htaccess file. Inside will be a line  
`RewriteBase /`  
If you’ve put your site in a folder, say /newsite, you’ll need to adjust this line to be  
`RewriteBase /newsite`

To answer your question, yes, you should be able to run Concrete in the same hosting space as a Wordpress site. But if there is some sort of Wordpress conflict due to .htaccess, an idea is to just set up a temporary subdomain and preview the new site off that.

---

<div class="post-metadata">

### Author: ![ConcreteOwl](https://forums.concretecms.org/user_avatar/forums.concretecms.org/concreteowl/32/5237_2.png) [@ConcreteOwl](https://forums.concretecms.org/u/ConcreteOwl)
#### Post date: [October 18, 2023, 9:36am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/3 "2023-10-18T09:36:00Z")

</div>

If you have moved from one hosting provider to another, you should also change the DNS settings to point to the new hosts server.

---

<div class="post-metadata">

### Author: ![wattsyourwebsite](https://forums.concretecms.org/user_avatar/forums.concretecms.org/wattsyourwebsite/32/3495_2.png) [@wattsyourwebsite](https://forums.concretecms.org/u/wattsyourwebsite)
#### Post date: [October 18, 2023, 9:50am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/4 "2023-10-18T09:50:51Z")

</div>

Thanks for your message. Its actually in the file:

/config/site.php

where it defines the database, the user, password, etc

It might be a very old version of Concrete. You can see a copy of it here:

[https://web.archive.org/web/20230302050910/http://www.exclusiveoutdoors.com.au/](https://web.archive.org/web/20230302050910/http://www.exclusiveoutdoors.com.au/)

Really appreciate your help thus far.  
Tania

---

<div class="post-metadata">

### Author: ![wattsyourwebsite](https://forums.concretecms.org/user_avatar/forums.concretecms.org/wattsyourwebsite/32/3495_2.png) [@wattsyourwebsite](https://forums.concretecms.org/u/wattsyourwebsite)
#### Post date: [October 18, 2023, 9:51am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/5 "2023-10-18T09:51:24Z")

</div>

Yes I have updated the A Records and it is definitely pointing to the new server  
Thanks  
Tania

---

<div class="post-metadata">

### Author: ![mesuva](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mesuva/32/4014_2.png) [@mesuva](https://forums.concretecms.org/u/mesuva)
#### Post date: [October 18, 2023, 10:05am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/6 "2023-10-18T10:05:30Z")

</div>

That’s going to be a version 5.6.x site then.

The biggest issue running older sites is the PHP version.  
If it’s the _very_ latest 5.6.x available, so 5.6.4.0, it should be able to run on PHP7.4.

But if it’s an earlier than that, it’ll likely require PHP5.6.  
PHP5.6 is very outdated, so many hosts simply don’t offer it anymore. But often it’s still an option in cPanel. You could try PHP5.6 to get the site running, then consider updates to get it to run on something more recent PHP wise.

---

<div class="post-metadata">

### Author: ![wattsyourwebsite](https://forums.concretecms.org/user_avatar/forums.concretecms.org/wattsyourwebsite/32/3495_2.png) [@wattsyourwebsite](https://forums.concretecms.org/u/wattsyourwebsite)
#### Post date: [October 18, 2023, 10:19am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/7 "2023-10-18T10:19:31Z")

</div>

How can I find out wht version of Concrete it is?  
I can select PHP 5.6 however I think this will then be an issue for the Wordpress installation.

---

<div class="post-metadata">

### Author: ![mesuva](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mesuva/32/4014_2.png) [@mesuva](https://forums.concretecms.org/u/mesuva)
#### Post date: [October 18, 2023, 10:34am UTC](https://forums.concretecms.org/t/moving-a-website-from-one-host-to-another/6332/8 "2023-10-18T10:34:13Z")

</div>

For an older version, you’d either look:

- in /updates, and there might be some folders there with obvious version numbers
- or in /concrete/config/version.php

If the top level has about 4 folders, you’re looking at a version 5.7+  
If it’s got more like 20 or so folders, you’re going to be looking a 5.6.x site.

For an older site you might simply have to put it on a different hosting account so it doesn’t conflict.

Sometimes you can run multiple sites through the same account, but with different PHP version for each site/folder, but that all comes down to the hosting.
