1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Changing the domain name of a php web script

Discussion in 'Databases' started by chrisj, Nov 29, 2018.

  1. #1
    I am purchasing a web script and will be installing it on my host server where I have two domain accounts, and the domains are resolved to the server.
    I asked the developer if I decided to change the domain name, at some point after install, what I could do, and was told to make the change it the config.php file.
    After I make that change, and I make the changes needed in WHM/cPanel, besides copying the db over, what else would need to be done to have a complete domain change?
    chrisj, Nov 29, 2018 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Likes Received:
    Best Answers:
    Trophy Points:
    That should be enough. The developer has something like <base href="<?php echo $your_url; ?>"> in the header that defines that the URL in the config.php file will be used throughout the entire site for relative URL addresses.
    qwikad.com, Nov 29, 2018 IP
  3. chrisj

    chrisj Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Thanks for your reply.
    Another question, when you typically purchase a web script, and go through the install process, it has you enter some info along the way - see attached image - where you're instructed to enter the purchase code, url, sql info, etc. My question is if the script is already downloaded on my pc how can it check for a correct Purchase code?

    Attached Files:

    chrisj, Nov 30, 2018 IP