Author Topic: Created Subdomain For Hostname, Broke Access to Server.  (Read 3884 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Created Subdomain For Hostname, Broke Access to Server.
« on: January 23, 2019, 02:25:44 AM »
Before I was aware of the fact that there is a script to generate an SSL cert for the hostname, I was trying to generate a script for the host name in the only way I knew how: Creating a subdomain for the hostname url.

now I cannot get back into the server through any means except SSH (which is fine, I can work the command line), but I am unsure how to revert the changes made from there.

Here's what I've done so far:

- Removed the sub-domain a name records from the Zone File for the DNS record.
- modified the hosts file to remove any entries that point the hostname/subdomain to the server's IP
- modified the VHOSTS file to remove the entry for the hostname as a subdomain

I get "Connection refused" errors whenever I try to connect to anything other than the FQDN of the hostname. I can't trigger any ports, and I can't get responses from anything but the hostname.

I'd really like to get this fixed/reversed, and have been unsuccessful on determining what all options get set when you create a subdomain in this manner so I can go in and reverse the rest of the changes that were made.

Furthermore, as another "weird" (or maybe not weird) status, the mail server that is running is working fine, and my phone, desktop client, et al. still receive and send email just the same as before. But none of the domains or other subdomains on even the same SLD.TLD work to resolve to anywhere in a browser.

Thanks in advance for the help.

Offline
*
Re: Created Subdomain For Hostname, Broke Access to Server.
« Reply #1 on: January 30, 2019, 04:29:34 PM »
Did you check mark for the subdomain to install an SSL certificate when it was created? If so, perhaps your issue is related to the bug outlined here: http://forum.centos-webpanel.com/installation/cwp7-cwpsrv-fails-first-on-install-fix-this-breaks-apache/