Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once you've changed your licensed domain in your account, if your website was already installed before, you need to change some files on the server in order for your website to use the new domain name. 

  • Either log into cpanel Cpanel or use an FTP program to connect to the server.
  • Find the PF.Base/file/settings/server.sett.php file and download a copy to keep as a backup. Then, on the original file, open it in a text editor. 
  • From lines 33 - 35, you will see the following codes:

...

Changing the .htaccess if Using Short Urls

If you had short urls enabled, or if you had the .htaccess for some other reason, you'll need to change it in order to point to your new domain. 

  • Using Cpanel or FTP find the .htaccess file in your foot folder where the phpFox files are installed. You will need to select to See Hidden Files or View Hidden Files as this file is a hidden file on the server. Make a copy of this file in case you need it.
  • Open the original file in a text editor and find the following line around line 4
Code Block
RewriteBase /yoursubfoldername/
  • Change that line so it points to your new subfolder or if not using one, just remove the subfoldername/ so it would then look like this:
Code Block
RewriteBase /
  • Double check the file for any other site urls you might have placed in it if you added anything to it and then save the file to your server and clear cache.

 

Tip
titleTips and Troubleshooting
  1. Remember to make sure your new DNS has fully propagated. You can check propagation at many different sites, such as DNS Checker. 
  2. Fully clear browser cache and site cache when changing domains.
  3. If you still have issues, you might need to flush your DNS cache. You can google for that, such as this article, or ask your ISP provider.
  4. Development sites, if done according to the license terms, do not need to be put in your account when you are trying to install. As long as the development site is in a phpfoxdev or development subfolder or subdomain of the licensed domain, it will be fine without changing the domain in your account.