Elxis CMS Forum

Support => General => Topic started by: ROUBOS on February 29, 2012, 13:25:00

Title: Changing the domain name on the same server...
Post by: ROUBOS on February 29, 2012, 13:25:00
Hi,
I'm changing the domain name on the same server of a site. What changes do I have to make so that elxis works fine?
I guess it will cause problems right?
FTP settings, links etc...
Title: Re: Changing the domain name on the same server...
Post by: webgift on February 29, 2012, 13:37:49
No problems will be caused ;)
If your new domain name directs to the same server then you should modify your configuration.php file only. The absolute path would be the same as before so you have to change the $mosConfig_live_site variable. Verify the other variables that have set correctly and you are ready to use it.

Title: Re: Changing the domain name on the same server...
Post by: ROUBOS on February 29, 2012, 13:49:17
What I've done so far:

removed the alias domain
renamed the hosting domain
added the alias domain
edited the $mosConfig_live_site variable in config.

it might take some time I geuss to work. Wouldn't this change the ftp etc. if I change the name of the hosting domain?
Title: Re: Changing the domain name on the same server...
Post by: webgift on February 29, 2012, 13:51:00
Your ISP ( Internet Service Provider) must be informed in order to see the changes. You can send me a Private Message to check this out. My ISP is Cyta Hellas.
Title: Re: Changing the domain name on the same server...
Post by: ROUBOS on February 29, 2012, 14:33:04
I also had to change these lines:
$mosConfig_cachepath
$mosConfig_absolute_path

Title: Re: Changing the domain name on the same server...
Post by: rentasite on February 29, 2012, 23:12:59
I also had to change these lines:
$mosConfig_cachepath
$mosConfig_absolute_path

See what webgift wrote before?
Quote
If your new domain name directs to the same server then you should modify your configuration.php file only. The absolute path would be the same as before

The question is: Did you change also the Username for that Hosting account? If yes, take care of that change.

Changes may be needed in your database!
Title: Re: Changing the domain name on the same server...
Post by: ROUBOS on March 01, 2012, 12:17:43
with the changes I made, all seems to work fine.
I did not change user names.
I just renamed the domain name in the control panel and placed the old name as an alias.

I had two domains: www.kipreosrentals.gr and www.kalymnosrentals.gr (alias)

renamed kipreosrentals.gr to kalymnosrentals.gr and made kipreosrentals.gr an alias

The ftp and all is the same. I still logon to ftp via ftp.kipreosrentals.gr which was the initial domain name.