Sub domain to sub folder DNS help!
Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.
Sub domain to sub folder DNS help!
#1
Posted 01 August 2008 - 04:35 AM
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!
#2
Posted 01 August 2008 - 05:21 AM
Alternatively, is serving the content from another directory really a big problem?
#3
Posted 01 August 2008 - 12:00 PM
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:

Plesk:

I have contacted Media Temple and so far none of them techs know how to set it up the cPanel way.....
#4
Posted 01 August 2008 - 12:05 PM
So if you tick the use same as main account details and which ever boxes you need (php etc.)
#5
Posted 01 August 2008 - 01:02 PM
Main Domain Location in Plesk: /var/www/vhosts/example.com/httpdocs
Sub Domain Location in Plesk: /var/www/vhosts/example.com/subdomains/sub_domain/httpdocs
Main Domain Location in cPanel: /var/www/example.com/public_html/
Sub Domain Location in cPanel: /var/www/example.com/public_html/sub_domain
#6
Posted 01 August 2008 - 07:47 PM
#7
Posted 02 August 2008 - 01:42 PM
#8
Posted 09 August 2008 - 01:28 AM
TomazWS, on Aug 2 2008, 02:02 AM, said:
Main Domain Location in Plesk: /var/www/vhosts/example.com/httpdocs
Sub Domain Location in Plesk: /var/www/vhosts/example.com/subdomains/sub_domain/httpdocs
Main Domain Location in cPanel: /var/www/example.com/public_html/
Sub Domain Location in cPanel: /var/www/example.com/public_html/sub_domain
hi thomas it is how subdomain works..
are you mean you just want to create an alias like www.yourdoman.com is an alias, ftp.youtdomain.com
is another alias,
subdomain basically mean you create another directory which holds the different set of website,
so do you understand?
#9
Posted 29 December 2008 - 05:41 AM
TomazWS, on Aug 1 2008, 01:00 PM, said:
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:

Plesk:

I have contacted Media Temple and so far none of them techs know how to set it up the cPanel way.....
Hello,
Thanks Thanks Thanks Thanks for your wonderful info regarding the Cpanel. After reading your post my all quires are over and solved.
Thanks Once Again.
#10
Posted 11 July 2011 - 07:49 AM
#11
Posted 27 September 2011 - 10:44 AM


Help
MultiQuote










