View Full Version : Sub domain to sub folder DNS help!
tomazws
August 1st, 2008, 05:40 AM
Hi guys,
I came across this problem...
How do I use DNS configurations to point a sub-domain to the main-domain's sub-folder?
Right now, the sub-domain is going to its own account, instead of going to a folder within the main-account.
WHM (cPanel) has this option and can be setup automatically, but Plesk doesn't seem to have it. It requires me to manually configure the DNS which I have no idea how to...
Please help!
Thanks!
hl
August 1st, 2008, 12:03 PM
It's more than just a DNS configuration. Are the accounts all on the same server? If so, all the subdomains should already be routed properly to your server, and you shouldn't have to fiddle with the DNS at all. Instead, you have to modify the domain's virtual host to rewrite subdomains to some subdirectory.
Give us some more detail about your setup.
tomazws
August 1st, 2008, 01:07 PM
In cPanel, subdomain is just an masked alias that goes to a folder inside the main domain's "public_html",
but in Plesk, subdomain is an actual account in which has its own "mail", "stats", "config", and its own "httpdocs".
I have also checked both websites' DNS zones.
In cPanel, the main domain will have a line for the subdomain:
"www.subdomain / A / xxx.xxx.xxx.xxx"
In Plesk, it'd have:
"subdomain.domain.com / A / xxx.xxx.xxx.xxx"
I wonder, if there's anyway that in Plesk, the subdomain is just a simple alias that short-cuts to a folder, instead of an entire account.
cPanel:
http://www.falanja.com/help/help_0.jpg
Plesk:
http://www.falanja.com/help/help_1.jpg
I have contacted Media Temple and so far none of them techs know how to set it up the cPanel way.....
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.