CPanel domain not working properly: http://vps.thedomain.com/domainnotknown.html Solution

The Cause

Basically it's usually because your Cpanel has new IPs and the old IPs it knows are no longer available/working/valid.

The solution is to change the site's IP but you may run into issues for various reasons.  Here is what I encountered below.

It redirects there even though public_html is empty and doesn't have any index or htaccess redirect.



---
This issue happened after a CPanel migration, the site is being set to an old IP, this is the problem.

-------
You need to use the "Change Site's IP Address" feature.
---------
Changing ip for thedomain.com (thedomain) to ip.ip.ip.ip
Setting up for ip change..... Done
Sorry, ip.ip.ip.ip is in use by another domain name and is not a shared ip.
======
1. You need to change root's shared IP

"Basic cPanel & WHM Setup"
Basic Config

2. Then change the site's IP address.
3. Then restart Apache


Tags:

cpanel, domain, http, vps, thedomain, domainnotknown, html, solutionthe, ips, valid, ip, various, encountered, redirects, public_html, doesn, index, htaccess, redirect, migration, quot, feature, whm, config, restart, apache,

Latest Articles

  • CentOS 8 how to restart the network!
  • CentOS 8 how to convert to a bootable mdadm RAID software array
  • ADATA USB Thumb Drive Issues
  • KMODE EXCEPTION NOT HANDLED - QEMU/KVM Won't Boot Windows 2016 or 10 Image or Physical Machine
  • Linux Mint / Ubuntu / Debian Mate Disable Guest Session and Hide Usernames on Lightdm Login screen GUI
  • SSH How To Create Public/Private Key Pair and with a Larger Keysize than 2048 bits
  • selenium.common.exceptions.WebDriverException: Message: Can not connect to the Service geckodriver
  • python ModuleNotFoundError: No module named 'bs4' even though you have the module
  • ssh how to connect using a SOCKS 5 proxy with nc and proxycommand
  • Enable AMDGPU Linux Driver
  • apache symlinks denied even with followsymlinks
  • chown how to change ownership on a symlink
  • how to use ifplugd in Linux to execute a command or script when a NIC cable is unplugged or plugged in
  • dd how to backup and restore disk images including compression with gzip
  • mpv / mplayer with Radeon / AMD GPU Video Card Driver enable VDPAU GPU Accelerated Video Decoding
  • Wordpress Reset Blog User Password from MySQL Using Linux Bash and not PHPMyadmin
  • Ubuntu Linux Mint Debian xorg performance and tear-free tuning for AMD Radeon Based Cards
  • Centos 7 Stopped and Disabled Firewalld and ports still blocked
  • MariaDB / MySQL Reset Root Forgotten Password on Centos 7
  • Centos 7 How to install Mysql/Mariadb