Thank you for response.
I did everything your post instructed. Most of the places did not have entries of the domain name, but the username directory did exist (still under where it should have been for the addon domain). Additionally, when I looked for the .db files, there weren't any as such, but there were 2 .db.work.213948u745y82u389 files (the digits and letters are a made up representation of what was there)
I know I'm not very good at explaining these things, so thank you for your understanding. If I am not making myself clear, I want to add the domain now as its own account, instead of as an addon domain.
Anyway, I tried it.
When I loaded the domain, I still got the same redirect to the incorrect domain name.
I got no errors in SSH when restarting named, but I did when I was restarting httpd. Here they are:
Code:
[Sun Feb 07 20:44:38 2010] [error] VirtualHost 99.777.888.11:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sun Feb 07 20:44:38 2010] [warn] NameVirtualHost 888.999.66.777:80 has no VirtualHosts
The actual IP values are replaced, but they were 2 different IPs (main server IP in the former, and IP address created for the new account (by the reseller account which uses that IP) is the latter.
The output of the tail command is the following:
Code:
Feb 7 20:46:48 vps named[26202]: dns_rdata_fromtext: /var/named/domain.com.db:4: near 'ihljkhfrd9pu7843yh2yotuhgjldfs7g9342yghoyutgwkhsdf.kjfiuher027845ghyujshdfyuikgdshlu37286oy4tigwlrujksdhyfkudsgfa678ya.com.': label too long
Feb 7 20:46:48 vps named[26202]: zone domain.com/IN/internal: loading master file /var/named/domain.com.db: label too long
Feb 7 20:46:48 vps named[26202]: loading configuration from '/etc/named.conf'
Feb 7 20:46:48 vps named[26202]: using default UDP/IPv4 port range: [1024, 65535]
Feb 7 20:46:48 vps named[26202]: using default UDP/IPv6 port range: [1024, 65535]
Feb 7 20:46:48 vps named[26202]: the working directory is not writable
Feb 7 20:46:48 vps named[26202]: dns_rdata_fromtext: /var/named/domain.com.db:4: near 'ihljkhfrd9pu7843yh2yotuhgjldfs7g9342yghoyutgwkhsdf.kjfiuher027845ghyujshdfyuikgdshlu37286oy4tigwlrujksdhyfkudsgfa678ya.com.': label too long
Feb 7 20:46:48 vps named[26202]: zone domain.com/IN/internal: loading master file /var/named/domain.com.db: label too long
Feb 7 20:46:48 vps named[26202]: dns_rdata_fromtext: /var/named/domain.com.db:4: near 'ihljkhfrd9pu7843yh2yotuhgjldfs7g9342yghoyutgwkhsdf.kjfiuher027845ghyujshdfyuikgdshlu37286oy4tigwlrujksdhyfkudsgfa678ya.com.': label too long
Feb 7 20:46:48 vps named[26202]: zone domain.com/IN/external: loading master file /var/named/domain.com.db: label too long
Please letme know, if you can, what steps I should take next.
Thank you for your time and effort.