I have a customer who has setup a subdomain which is sub.domain.com he wants domain2.com to point to that subdomain. I have tried EVERYTHING I could think of and all posts here and have not figured it out yet.. Here is what I have the httpd.conf set like now for the subdomain tag.
<VirtualHost MY IP>
BytesLog domlogs/sub.domain.com-bytes_log
User admin1
Group admin1
ServerName domain2.org
ServerAlias sub.domain.com *.domain.com
ServerAdmin wwwadmin@domain.com
DocumentRoot /home/comprel/public_html/sub
CustomLog domlogs/sub.domain.com combined
ScriptAlias /cgi-bin/ /home/admin1/public_html/sub/cgi-bin/
User admin1
Group admin1
</VirtualHost>
I have even tried adding an A record for domain2.com in the zone file and nothing seems to work. It looks like it has happened to people before, but none of those fixes have worked for me yet. Thanks in advance.
cPanel.net Support Ticket Number:



LinkBack URL
About LinkBacks

Reply With Quote





