Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
How to move to new ip with new domain
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to move to new ip with new domain (Read 11689 times)
ipghmagnet
Full Member
Posts: 108
How to move to new ip with new domain
«
on:
December 04, 2014, 17:06:33 »
Hello Sirs,
I met below problem:
I have several websites in USA HOSTING.
I created A.COM for try elxis 4.2. After all is ok, I copy A.COM all files to B.COM . Becasue the mysql database sever is same. I want to use same mysql database. So i don't do anything.
I changed configuration.php replacing " A.COM " with " B.COM".
But i found it cannot work.
Pls kindly help me where i should change more.
Thanks in advance.
ipghmagnet
Logged
neodymium magnet
www.nbvsmagnetic.com
datahell
Elxis Team
Hero Member
Posts: 10356
Re: How to move to new ip with new domain
«
Reply #1 on:
December 04, 2014, 21:16:00 »
"But i found it cannot work."
What exactly doesn't work? What happens when you visit the site?
If you have a custom
path for Elxis repository
you also have to update variable
$REPO_PATH
in configuration.php. Also are
database
settings the same (same db name, user, password)? Iu guess not. So you also have to update these settings. You might also have to update email settings if you use SMTP to send emails. Check all configuration variables carefully.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ipghmagnet
Full Member
Posts: 108
Re: How to move to new ip with new domain
«
Reply #2 on:
December 05, 2014, 04:29:55 »
Dear Datahell,
Here is the problem:
Firstly, I install elxis at A.COM , Then I move to B.COM . I copied all files to B.COM , then change the configuration.php with " B.COM".
Database all settings are same.. password, db_name, user, all same. so i don't need to change.
path for Elxis repository is default. so i don't change..
Then I found the problem:
website is open: a.com/index.php , i can see the website open. But I found all links are from A.COM/.../
For example, : it shows : a.com/about-us.html, not b.com/about-us.html
when i login in: B.COM/estia/ , i will go back to A.COM 's administration interface.
I am guessing if i should change something in the database..
I am expecting your kind help.
Thanks.
IPGHMAGNET
Logged
neodymium magnet
www.nbvsmagnetic.com
webgift
Elxis Team
Hero Member
Posts: 4193
Re: How to move to new ip with new domain
«
Reply #3 on:
December 05, 2014, 10:27:25 »
Hi,
1. Open configuration.php file and change
private $URL = '
http://a.com
';
to
private $URL = '
http://b.com
';
.
2. In case that you had submitted menu items manually by writing the whole URL then you must edit them one by one in order to update with the new domain name. Finally
3. check your
.htaccess
file for any redirect rule.
Do the 1st solution. The other two are submitted optionally.
«
Last Edit: December 05, 2014, 10:30:18 by webgift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ipghmagnet
Full Member
Posts: 108
Re: How to move to new ip with new domain
«
Reply #4 on:
December 08, 2014, 07:58:33 »
Dear Webgift,
How are you?
My first installation is helped by you!!
I already do 1, and then in B.COM, i can see the website launched. But when i move mouse on menu, catgegory, articles, the url is started from A.COM/.....
I checked i added menu manually, but the parth is as default . like content:about-us.html. i didn't use absolute path..
For. htaccess, i didn't change anything. stay as default.
So it is very curious. Should I change the database ?
Waiting for your kind support.
Ipghmagnet
Logged
neodymium magnet
www.nbvsmagnetic.com
ipghmagnet
Full Member
Posts: 108
Re: How to move to new ip with new domain
«
Reply #5 on:
December 08, 2014, 09:18:18 »
HI every one,
I settled the problem. The only problem is notepad++.
Previously, i use notepad (maybe it doesn't support utf-8.. )
All is finished after change configuration.php.
So easy..
Thanks all.
Logged
neodymium magnet
www.nbvsmagnetic.com
webgift
Elxis Team
Hero Member
Posts: 4193
Re: How to move to new ip with new domain
«
Reply #6 on:
December 08, 2014, 10:14:14 »
You are very welcome,
@ipghmagnet
.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
How to move to new ip with new domain