I created everything through Virtualmin.
And the reason they weren’t resolving was because the Zone Records aren’t being formed right. There must be some value I haven’t entered as a default that’s causing this. In each record, the first and second occurence of the domain name was the “@” symbol. i.e.
@ SOA IN ns1.mydomain.us. and then
@ IN A 12.34.56.78 and a couple other places, I think.
The mydomain.us record is the ONLY one that contains the additional two lines:
ns1.mydomain.us. IN A 12.34.56.78
ns2.mydomain.us. IN A 12.34.56.78
Otherwise they are identical except for the domain name.
I remember another post where it said that “@” symbol was wrong. I’ll go look up the post.
In the meantime, I again hand-edited each Zone Record to correct its syntax. Once I got it correct, all three Domains reolved perfectly and instantly. Also, www.intodns.com agreed that the records were correct. The only warning I got was about having only one IP Number to work with, but those were "Yellow warnings", not "Red warnings".
httpd.conf VirtualHosts section is as follows:
[code:1]
<VirtualHost 12.34.56.78:80>
SuexecUserGroup "#501" "#502"
ServerName mydomain.us
ServerAlias www.mydomain.us
ServerAlias lists.mydomain.us
DocumentRoot /home/(account name)/public_html
ErrorLog /home/(account name)/logs/error_log
CustomLog /home/(account name)/logs/access_log combined
ScriptAlias /cgi-bin/ /home/(account name)/cgi-bin/
ScriptAlias /awstats /home/(account name)/cgi-bin
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/(account name)/public_html>
Options Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/(account name)/cgi-bin>
allow from all
</Directory>
Alias /dav /home/(account name)/public_html
Alias /pipermail /var/lib/mailman/archives/public
<Location /dav>
DAV On
AuthType Basic
AuthName mydomain.us
AuthUserFile /home/(account name)/etc/dav.digest.passwd
Require valid-user
ForceType text/plain
Satisfy All
</Location>
<Files awstats.pl>
AuthName "mydomain.us statistics"
AuthType Basic
AuthUserFile /home/(account name)/.awstats-htpasswd
require valid-user
</Files>
RedirectMatch /cgi-bin/mailman/([^/])(.) https://mydomain.us:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
RedirectMatch /mailman/([^/])(.) https://mydomain.us:10000/virtualmin-mailman/unauthenticated/$1.cgi$2
</VirtualHost>
[/code:1]
That’s typical of all three domains. Where you see 12.34.56.78, my actual dedicated Public IP appears. Where you see (account name), that’s replaced by the actual user name I assigned to the Domain. (The usernames were created by Virtmin, too.) Where you see mydomain.us, that’s different in each VirtualHost entry and correct in all three sections as mydomain.us mydomain.org and mydomain.net
Yes, suexec points to home:
[root@server /]# suexec -V
-D AP_DOC_ROOT="/home"
-D AP_GID_MIN=100
-D AP_HTTPD_USER="apache"
-D AP_LOG_EXEC="/var/log/httpd/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=500
-D AP_USERDIR_SUFFIX="public_html"
[root@server /]#
I’m getting more and more baffled, lol.
Thanks for your help.