Advertisement:

Author Topic: How to change a domain name in osclass website  (Read 79 times)

moinuddin

  • Full Member
  • ***
  • Posts: 102
How to change a domain name in osclass website
« on: July 31, 2019, 02:34:49 pm »
Hi,

I want to change my domain name of an existing Osclass website which is live online .

Have anyone done this before?


p206ab

  • Sr. Member
  • ****
  • Posts: 343
Re: How to change a domain name in osclass website
« Reply #1 on: July 31, 2019, 02:42:24 pm »
Edit define('WEB_PATH',..) in config.php in root and that's does it. :)

moinuddin

  • Full Member
  • ***
  • Posts: 102
Re: How to change a domain name in osclass website
« Reply #2 on: July 31, 2019, 02:44:43 pm »
OK..so no need to do any other changes?

Just backup the files and restore it to another server through cpanel ..

And then make the changes which you sugessted.

Ill try and will let you know.


moinuddin

  • Full Member
  • ***
  • Posts: 102
Re: How to change a domain name in osclass website
« Reply #3 on: July 31, 2019, 02:45:46 pm »
Or what i was thinking that should not change the server and only change the domain name on the same server.

Is that possible ?


BritWeb

  • Hero Member
  • *****
  • Posts: 770
  • If it ain't broke, don't fix it.
Re: How to change a domain name in osclass website
« Reply #4 on: July 31, 2019, 03:41:08 pm »
Or what i was thinking that should not change the server and only change the domain name on the same server.

Is that possible ?

Domain change is usually a server change, but in some case the hosting company would oblige to make necessary DNS changes on the server (hosting space) to point to the new domain. In any case, it is advisable that you backup all your files including the database if you need to transfer the site to a new server.

Best of luck!