That's not right, because usually if it's a shared IP then when going to the IP address it would show the default cPanel page. You can only access other website if you go to http://127.0.0.1/~[username]
What's the IP? I'll take a look.
Hi guys,
I've noticed that if a customer visits the main shared IP address on my cPanel server, it's showing another customers website. Is there a way to change this to the default cPanel page that says cPanel is installed or something? I've noticed that the site showing, is the first website that was added to the new server too.
Basically, I don't want customers to see another customers website when they visit the main shared IP. The only way they won't see this if if they have their own dedicated IP.
JSHosts - UK Web Hosting
Web Hosting | Reseller Hosting | OpenVZ VPS | Xen VPS
cPanel | Softaculous | CloudLinux | CloudFlare | R1Soft Backups
That's not right, because usually if it's a shared IP then when going to the IP address it would show the default cPanel page. You can only access other website if you go to http://127.0.0.1/~[username]
What's the IP? I'll take a look.
Go into your httpd.conf and find "NameVirtualHost *".
Under it make sure there is a VHOST for the IP.
An example VHOST is
Just make sure that's the first VHost and your problem should be all set.Code:<VirtualHost IP_HERE:80> ServerName server.hostname.tld DocumentRoot /usr/local/apache/htdocs ServerAdmin admin@email.tld </VirtualHost>
█ Brandon Long | Wicked Free Hosting
█ brandon[@]wfh[.]im | 1-877-927-7606
█ Enterprise Free Hosting! Try us today
Thank you Brandon, that fixed it.![]()
JSHosts - UK Web Hosting
Web Hosting | Reseller Hosting | OpenVZ VPS | Xen VPS
cPanel | Softaculous | CloudLinux | CloudFlare | R1Soft Backups
No problem, it's happened to us before, the bad part is that when people do IP/~blah/ it goes against there transfer too, so it's best to be fixed.
█ Brandon Long | Wicked Free Hosting
█ brandon[@]wfh[.]im | 1-877-927-7606
█ Enterprise Free Hosting! Try us today
John,
As a note, this normally happens when there's only one account on a cPanel server as well, once you make a second account you should be set - Might this be a new server or something? Or might this be the only new account on that IP?
- Hunter Hastings / Check out my twitter!
[ GeekLayer Web Services | Want a VPS that SCREAMS? ]
[ Killer deals on Virtual Private Servers | Check out our new packages! ]
█ Brandon Long | Wicked Free Hosting
█ brandon[@]wfh[.]im | 1-877-927-7606
█ Enterprise Free Hosting! Try us today
I've had the server for months now and it's happened since we moved from the old server. There's more than one account on the server but it's because the shared IP is different to the main server IP.
Thanks to Brandon, I now know how to resolve it if it happens again.![]()
JSHosts - UK Web Hosting
Web Hosting | Reseller Hosting | OpenVZ VPS | Xen VPS
cPanel | Softaculous | CloudLinux | CloudFlare | R1Soft Backups
Yeh I dunno why it doesn't do it for each IP, then again, it's cPanel, so I would rather not ask. Loads of problems with them lately![]()
█ Brandon Long | Wicked Free Hosting
█ brandon[@]wfh[.]im | 1-877-927-7606
█ Enterprise Free Hosting! Try us today
Bookmarks