On the Linux site’s settings, you need to add sub.somedomain.com as a server alias.
It’s likely it will already have an alias www.sub2.reseller.net in the settings already, just add another there
Without this, the virtual host would not be recognized and you’d be directed to some default page on the server, unless you used a dedicated IP.
I’m still a little confused, so if you don’t mind, I would like to list down what I did so far.
I have have a domain [win-site.com] and I want to run wordpress on [blog.win-site.com]. I need the url rewriting features (and none of the IIS hacks seem to work well, so I would like to run it on Linux with .htaccess).
I created a Unix plan and added a domain [linux-site.com].
Also, once I create a new server alias, do I need to create a folder or subdomain on [linux-site.com]? Basically where do I store the files on [linux-site.com] so that [blog.win-site.com] will see it?
Sorry, I meant a domain alias, not a server alias It’s just above the server aliasing on the help page you linked.
The domain alias to enter would be name of the A record you just added, followed by the domain name, so in this case: blog.win-site.com. Uncheck the box to create a new DNS zone. The zone already exists under your other account after all.
When you view blog.win-site.com, it should be the same page as linux-site.com. If you want it to be a different page, but on the same account, you will have to create a subdomain on the linux-site.com account first, and add the alias to that instead of adding it to the main site.
The last problem that I’m running into is that when I try to add a domain alias on [linux-site.com] I get the error message “Domain blog.win-site.com has been taken.”
Any suggestions?
Things I’ve tried and checked:
The only place on [win-site.com] that has the “blog” name is under the Custom A records. There are no subdomain under [win-site.com].
I even tried getting rid of the wildcard *.win-site.com A record but that didn’t seem to be the answer so I restored it.
I couldn’t get around the domain already exists thing either when I tried it.. Apparently it does allow it when you create a whole new website, but not on domain aliases, or something. Either that or they changed H-Sphere since I created my own webmail subdomain..
And since I want to essentially “hide” [linux-site.com] in cases of search engines and the like, do I redirect everything to [blog.win-site.com]? Or does that create some kind of infinite loop type thing?