Jump to content
Chrisj

Changing the domain name of a php web script

Recommended Posts

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?

Share this post


Link to post
Share on other sites

:psychic:

You and definitely your developer would know what needs to be updated better than us. The only thing that's common in all cases is DNS, which I believe you'll be addressing with the white mage/cPanel bit.

Share this post


Link to post
Share on other sites

#3

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?

install.png

Share this post


Link to post
Share on other sites
1 minute ago, Chrisj said:

My question is if the script is already downloaded on my pc how can it check for a correct Purchase code?

Varies greatly. I suspect what you downloaded is more of an installer than the actual script - you enter code and configuration information, it'll download the actual script, and configure and install it.

Share this post


Link to post
Share on other sites

You should make sure the code is not encoded by Zend Guard or similar or you wont be able to do any modifications.

Share this post


Link to post
Share on other sites
29 minutes ago, benanamen said:

You should make sure the code is not encoded by Zend Guard or similar or you wont be able to do any modifications.

Please don't suggest to people that they bypass code protections. There should not be a need to make those kinds of modifications anyways - the configuration will likely be somewhere simple and easy to edit.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.