Prevent cpanel login page showing server name

squadx

Active Member
Jan 26, 2012
37
0
56
cPanel Access Level
Website Owner
I am assuming this is the way I have my VPS setup, but where or how would I change this.

I've added a few sites onto my server...

When I navigate to mywebsite.com/cpanel instead of going to mywebsite.com/cpanel...

it redirects to my server1.VPS.COM

How do I prevent that redirect and just have it stay on the mywebsite domain?
 

squadx

Active Member
Jan 26, 2012
37
0
56
cPanel Access Level
Website Owner
Anyone have any help for this...i've been looking for days, an I must be missing something. There has to be a reason this redirects to the server name instead of just staying on the website URL
 

squadx

Active Member
Jan 26, 2012
37
0
56
cPanel Access Level
Website Owner
I have changed these settings, but I am starting to get the impression the setting that was there when the account was created is what holds. Because even after restarting associated services with it and stuff, it still redirects to the server instead of staying on the domain.
 

squadx

Active Member
Jan 26, 2012
37
0
56
cPanel Access Level
Website Owner
I actually just changed the setting to "Origin Domain Name" added a quick test domain and it works as it should, but not it appears the site i have on there doesn't load cpanel at all. Verynice, is there a location to manually edit these files through ssh?
 

squadx

Active Member
Jan 26, 2012
37
0
56
cPanel Access Level
Website Owner
No, the hosts/dns files that control the redirect options (tweak settings > redirect options)? When I change those settings it has no affect on sites i've already created. But when I created a new site with the new settings it handles it how I want it to.

So apparently whatever those settings change, don't modify current site hosts file or where it's storing this information