Parking domains on top of subdomains

nu-steve

Member
Apr 13, 2002
7
0
301
Hi all,

I read a thread earlier about parking a domain on top of a subdomain so that the new domain would work as a normal domain but access all the info out of a directory on a pre-existing domain.

So I tried this and it seemed that WHM put the ServerAlias directive in the wrong place. It put it under the main domain rather than the subdomain's config file in httpd.conf.

So instead of it going under the config file for like subdomain.test.com it just put it under test.com.

It did create the dns zone correctly and everything, and just moving the ServerAlias directive from test.com to subdomain.test.com proved to work correctly, I was wondering if I was doing something wrong or if this is a bug and I should report it.
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
Yes, I've noticed the same problem. I'm gonna look and see if I can find a bug report on this..
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
I noticed that if you type in the sub.domain.com in the text box instead of selecting it from the list, it works correctly. However, resellers do not have that text box so it parks wrong for them.

The problem seems to the that subdomains listed in the select box have the value of the domain instead of sub.domain.com.
 

SHSaeed

Well-Known Member
May 9, 2002
243
0
316
Seems already reported..

http://web.cpanel.net/bugzilla/show_bug.cgi?id=589
http://web.cpanel.net/bugzilla/show_bug.cgi?id=608