Moving a site to a new server/domain

What would I need to change to reflect the migration of our Squiz installation to a new server, which would be serving the content out under a new domain.
We tried to adjust the system via the frontend interface, but we cannot appear to change where the stylesheet pulls its contents from.

Are there some steps we can follow to achive this type of migration?

[quote]
What would I need to change to reflect the migration of our Squiz installation to a new server, which would be serving the content out under a new domain.

We tried to adjust the system via the frontend interface, but we cannot appear to change where the stylesheet pulls its contents from.

Are there some steps we can follow to achive this type of migration?

[/quote]



Hi Neil,



Have you applied the new domain to all the places its needed in Matrix? As well as applying it to the site, you need to apply it to your main Designs folder, the Web Services folder and the Media folder. Once you apply it to your Designs folder, then your site should start using the new domain path to access the stylesheets, and the stylesheet should use the new domain to replace all the mysource_files/image… paths.

You can have multiple domains on all those folders (I've got about 14!) but the site seems to try to use its own domain first before defaulting to the others in what seems to be alphabetical order.





Cheers,

Charlie.

Hi Charlie,
Thanks for the reply, yes I think we have updated all the URL's for the various elemnts within the installation, however the CCS files appear to resist any of the amendments and continue to use the original values.

My system is now configured to only use two URL's:

matrix.dartford.gov.uk and www.dartford.gov.uk

previously it was configured with twkp.matrix.co.uk and www.twkp.matrix.co.uk



If I look at the code being rendered in Firebug it displays the following:

#footer {

background: url("https://matrix.twkp.co.uk/__data/assets/image/0003/894/footer-bg.jpg?v=0.1.1") repeat-x scroll 0 0 transparent;



Any other suggestions please?

Hi Neil,


Have you opened up your css (edit parse file) and then re-committed it, so that it translates url(mysource_files/footer-bg.jpg) into the new urls?

That normally works for me to correct any url issues in css files.



Charlie.

Did you make sure to run the system_move_update.php script?


http://manuals.matrix.squizsuite.net/server-administrator/chapters/system-move-update-script/

Thanks for all your suggestions, in the end the command:
php system_parse_designs.php /var/www/mysource_matrix

resolved my problem.

I tried to re-parse the css files via the user interface, but this failed to complete successfully



Thanks again for your suggestions, it got me looking into the right places