Getting this to work took some adjusting
I wanted to put together a site that was on a subdomain of this chiropractic website and I thought it would be an easy task.
The www prefix was already in use by the primary allchiro.com site so I thought what else could be used? I decided to create a subdirectory called “chiropractic” since that was what I planned on discussing in this space. I logged into my cPanel setup on my server and set some settings for subdomains.
Here is what cPanel wrote…
SubDomain Creation
Bind reloading on vps using rndc zone: [allchiro.com]
The subdomain, chiropractic.allchiro.com has been added.
I figured it may take some time for DNS to propagate so I did not get impatient. I moved on to the next step…
SubDomain Creation
The zone for the root domain chiropractic.allchiro.com is missing, or could not be read. The ip address will be read from the webserver configuration and a new zone will be created for this subdomain. Bind reconfiguring on vps using rndc
Created DNS entry for 1895.chiropractic.allchiro.com
The subdomain, 1895.chiropractic.allchiro.com has been added.
I’m glad the DNS entry was created and the subdomain was added but wondered if the “root domain” missing was going to be an issue. Turns out it wasn’t but something else was not functioning properly.
I installed this web blog with no errors but the pages would not appear online. Darn! I figured I’d try it again somewhere else and it worked on another server I own. Back to the server this site lives on it worked again on another domain. Looks like it was turning out to be an isolated issue affecting the specific IP address this site is using.
I ticket to NOC resolved the issue (after about 2 hours) and it turns out my httpd.conf file did not have ‘NameVirtualHost myipaddress’ before all the VirtualHost entries for the IP.
Once that was set all was just peachy! Now let’s see what we can do here besides just make our domains really annoying to type.