Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Moving domains...

Asked Modified Viewed 2,055 times
L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
  • Started this discussions
asked
Senior Member

Hello,

Can somebody tell me whats involved here please?

Say my site is called http://abc.com and I wish to change the name to http://xyz.com - aside from the domain name stuff, what to I need to do in order to move my PHPFusion install lock, stock and barrel to the new domain?

Thanks

Lee
0 replies

7 posts

P
pher-d
P
pher-d 10
www.phpfusion-tr.com
PHP Fusion TransFusion Official Turkish Translator
PHP Fusion Turkey Official Support Site Administrator
PHP Fusion Official Crew Member
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

You must change dns of your news domain. If you have two seperate hosting you can create a index.html and use redirect it with meta code like below:

<meta http-equiv="Refresh" content="10;URL=http://www.xxxx.com"> 


The content is redirect time as second.
Edited by pher-d on 19-12-2006 11:26,
0 replies
L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
  • Started this discussions
answered
Senior Member

Thanks - what about the underlying database etc? Can I just backup and restore to the new DB location?
0 replies
L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
  • Started this discussions
answered
Senior Member

* Bump *

Sorry to bump....

Does anybody have an answer to this?

Can I just copy the entire php-fusion install from one site to another, change the site name and url in admin panel and then it will all work ok?

Thanks

Lee
0 replies
R
Run4itUK
R
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 7 threads in the forums
answered
Junior Member

I just did this ;)
(Assuming that the old site is using the current version of PHPFusion and you don't have any mods / infusions..)

On the old site do a database backup.
Install a new version of PHPFusion on the new server
use bigdump to restore the database onto the new server

You might want to copy the images\avatars to your new server too ;)
and attachments etc
setup a forwarding page on the old server to forward users to the new site
tell your users to use the new URL

I'm sure I've forgotten something but you will soon notice it on the new site and can FTP / use mysqladmin to sort it

let us know if you need a bit more detail


Good Luck ;)
P.S one more thing - does anyone know how to change all the links in forum posts etc in the database to point to the new url ?
I guess I need a find & replace for the whole database ??
0 replies
K
Ken
K
Ken 10
No Support by PM. Please use the forum.
  • Senior Member, joined since
  • Contributed 713 posts on the community forums.
  • Started 43 threads in the forums
answered
Senior Member

If you are moving the site to a new server, you also need to edit the config.php file.

Quote

Run4itUK wrote:
P.S one more thing - does anyone know how to change all the links in forum posts etc in the database to point to the new url ?
I guess I need a find & replace for the whole database ??

You could maybe do a search & replace operation with the simple Notepad software, in the backupfile before you did import it simply by changing all the old domain references to the new domain.

Now when you already have imported the database, you must do like you suggest run a mysql search & replace script on the forum posts table.
Edited by Ken on 10-01-2007 14:13,
0 replies
L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
  • Started this discussions
answered
Senior Member

Thanks Run4ItUK!

The database server isn't changing - I'm keeping it and it's separate from the domain name.

Does that have any impact on what I should do? I suppose it's just a case of suck it and see?

Cheers

lee
0 replies
— 5 months later —
L
lsainsbury
L
Best Regards,
Lee
  • Senior Member, joined since
  • Contributed 270 posts on the community forums.
  • Started 53 threads in the forums
  • Started this discussions
answered
Senior Member

*Bump*

Sorry about the bump from Jan 2007!

I've now purchased my new domain name and going to install it this weekend.

One thing I've just thought about - how do I copy my existing panels across? Do I have set them all up again manualy? :|

Thanks
Lee
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet