Remove proxy subdomains from website?

katamaran

Registered
Aug 11, 2018
3
0
1
turkey
cPanel Access Level
Root Administrator
hello, I'am using cloud vds. I have 5 websites and each website has a dedicated IP address.

I have a problem like this.

my websites are accessible via ns1.website.com and mail.website.com and ftp.website.com

I do not want my web sites to be reachable this way.

how can i fix these problems?

I am new to cPanel so I am very grateful if you explain it in detail.

thank you so much <3
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
HI @katamaran

I believe this would be resolved by disabling proxy subdomains. Ensure it's disabled in WHM>>Server Configuration >> Tweak Settings -> Proxy Subdomains and Proxy Subdomain Creation

Then run the following:
Code:
/scripts/proxydomains remove
Keep in mind this will remove them for all domains.

Thanks!
 

katamaran

Registered
Aug 11, 2018
3
0
1
turkey
cPanel Access Level
Root Administrator
HI @katamaran

I believe this would be resolved by disabling proxy subdomains. Ensure it's disabled in WHM>>Server Configuration >> Tweak Settings -> Proxy Subdomains and Proxy Subdomain Creation

Then run the following:
Code:
/scripts/proxydomains remove
Keep in mind this will remove them for all domains.

Thanks!
thank you for your reply, I did what you say but...

/scripts/proxydomains remove
Removing proxy subdomains for all users.
This may take several minutes if there are many accounts on the system.
Can't use an undefined value as an ARRAY reference at /usr/local/cpanel/Cpanel/Proxy.pm line 85.

im having an error like this and ns1.website is still working :/
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,262
313
Houston
Hi @katamaran

Removing proxy subdomains shouldn't cause the error you're experiencing.

Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 

katamaran

Registered
Aug 11, 2018
3
0
1
turkey
cPanel Access Level
Root Administrator
Hi @katamaran

Removing proxy subdomains shouldn't cause the error you're experiencing.

Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
I created a ticket with the following email address: EMAIL REMOVED

thank you for your help
 
Last edited by a moderator: