The domain_change_db.py script handles all the steps required to change the domain name in the site database. It does not change anything in the file system.
Execute this script with a command like this:
[RUNTIME_DIR]/domain_change_db.py [--debug] [--dir] --old={domain_name} --new={domain_name}
The domain_change_db.py script provides the following parameters:
Use this feature to do a subset of the data directory. This instructs the script to do a recurse in the specified directory looking for the old domain_name and replacing it with the new domain_name. .