Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis documentation
for users and developers.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Move site to new hosting space [SOLVED]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Move site to new hosting space [SOLVED] (Read 12541 times)
ROUBOS
Hero Member
Posts: 699
Move site to new hosting space [SOLVED]
«
on:
August 06, 2012, 14:59:09 »
Hi all,
I want to backup a site and move it to a new hosting server.
So what do I do?
Do I:
backup the database,
save the template,
then import the database,
install elxis (latest version, the site currently has an older version),
and install the template again
?
«
Last Edit: August 11, 2012, 18:44:08 by ROUBOS
»
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #1 on:
August 06, 2012, 16:43:38 »
Hello ROUBOS,
If you have cpanel you can use the file manager to compress all the files in your public_html area into a zip.
Yes, export the sql using phpadmin or using the elxis database manager complete sql backup.
Download your zip to your local system and then upload to your new host.
Using cpanel at the new host, you can use the file manager to upload the zip into your public_html area and then uncompress (unzip).
Create the same database name and user then use phpadmin to import your sql file.
Basically that's it.
Regarding your comment about tophost: I have used them but only for Greek domain names and I have not had a problem.
I do not use them for hosting.
«
Last Edit: August 06, 2012, 16:48:12 by xmanhattan
»
Logged
Bournias.net
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #2 on:
August 07, 2012, 00:49:01 »
OK so I got into phpmyadmin and did an export of the database (small file). Hope I did it right. Check the screenshots of my export options if I did it right.
And since I have no access to SHELL, or a backup utility in the control panel, I used FTP to download the entire httpdocs/ folder.
Should this cover me?
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #3 on:
August 07, 2012, 09:42:04 »
The second image looks correct.
Logged
Bournias.net
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #4 on:
August 07, 2012, 10:03:58 »
so now since I got the backup, I just upload the files to the new hosting space, use phpmyadmin to import the database, then make changes to config php file and we're set?
this is a very old elxis version. How about if I install the latest elxis version and just upload the old template. will this work too?
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #5 on:
August 07, 2012, 10:08:19 »
Not really. There were database changes between some versions. You would have to load it the way it is and then upgrade version by version.
Logged
Bournias.net
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #6 on:
August 07, 2012, 10:25:02 »
cool thanks. will do it soon and let you know what happened or if I have more issues...
Logged
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #7 on:
August 07, 2012, 11:42:21 »
when I import the database, do I create a database and import the tables from the backup, or does the import create the database again ?
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #8 on:
August 07, 2012, 17:33:25 »
You have to create the database and add a user to access it through cpanel.
Don't forget to use the same database name and user name and password.
Logged
Bournias.net
gmelis
Newbie
Posts: 6
Re: Move site to new hosting space
«
Reply #9 on:
August 07, 2012, 17:48:17 »
Best working solution to this problem: Backup the *whole* of your elxis site. That leaves out the database(s). sqldump your database(s), then import them in your new installation.
If you don't stick to the rules though, you *can* just copy the directory with the database(s), then just fix the access rights in your new installation, but there are cases where this might not work (hadn't had any problems till now, but I am the server owner...). As a word of caution, in order to do such a database directory copy, you better have full access to the new server. For example, you might have to put them in "/var/lib/mysql", and you'll only be able if you've server admin rights (like root, for example).
Logged
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #10 on:
August 07, 2012, 20:30:58 »
ok, uploaded all the files to the new server,
created the database and the user using exactly the same names and passwords,
and now I'm waiting till the nameservers are changed so that the domain names point to the new server.
I guess I can change the ip in the configuration.php file where the domain name is if I want to access the site using the ip address.
using phpmyadmin I imported the database tables from the backup I've made.
So far I think I'm on the right track right?
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #11 on:
August 08, 2012, 08:44:58 »
When you call the site, it may not work at first. You might even have to call the admin page using index.php\administrator.
Log in then go to tools, clean cache and it should work normally assuming that you did everything correctly.
Logged
Bournias.net
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #12 on:
August 08, 2012, 10:50:35 »
at the moment I'm getting a 404 not found error. when I use the
http://IP/index.php
.
But I have not altered the config file.
Waiting for the name servers to point to the new hosting space
Logged
ROUBOS
Hero Member
Posts: 699
Re: Move site to new hosting space
«
Reply #13 on:
August 08, 2012, 11:36:26 »
they say they've fixed the nameservers, so how do I know if the site now is working and not pointing to the old server?
Logged
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: Move site to new hosting space
«
Reply #14 on:
August 08, 2012, 11:43:10 »
Try this:
https://grweb.ics.forth.gr/
and check whois for gr.
Logged
Bournias.net
Print
Pages: [
1
]
2
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Move site to new hosting space [SOLVED]