Why register for free on WebRadiance? |
Why register for free on WebRadiance? |
![]() |
Welcome to WebRadiance forums! WebRadiance is a place for discussion and help on a large range of web design and development related topics such as HTML, CSS, ASP & .NET, PHP and SEO. It is provided for free, without ads and is a friendly place for beginners and professionals alike. By joining us today you can take part in our rapidly growing community. Registering enables you to:
|
![]() ![]() |
Aug 1 2008, 04:35 AM
Post
#1
|
|
|
W.R. Private Group: Members Posts: 19 Joined: 2-August 07 Member No.: 553 |
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! -------------------- |
|
|
|
Aug 1 2008, 05:21 AM
Post
#2
|
|
![]() Loose bits sink chips Group: Administrators Posts: 2,064 Joined: 4-April 06 From: Kent, UK Member No.: 2 |
Maybe get in touch with your host?
Alternatively, is serving the content from another directory really a big problem? -------------------- |
|
|
|
Aug 1 2008, 12:00 PM
Post
#3
|
|
|
W.R. Private Group: Members Posts: 19 Joined: 2-August 07 Member No.: 553 |
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: ![]() Plesk: ![]() I have contacted Media Temple and so far none of them techs know how to set it up the cPanel way..... -------------------- |
|
|
|
Aug 1 2008, 12:05 PM
Post
#4
|
|
![]() the owner3r Group: Administrators Posts: 1,468 Joined: 4-April 06 From: North Wales, UK Member No.: 4 |
Plesk just seems to give you the option of adding extra features onto that sub domain (say you wanted someone to have their own division in your company with a sub domain and their own hosting which is a portion of yours you would be able to control it through that)
So if you tick the use same as main account details and which ever boxes you need (php etc.) -------------------- |
|
|
|
Aug 1 2008, 01:02 PM
Post
#5
|
|
|
W.R. Private Group: Members Posts: 19 Joined: 2-August 07 Member No.: 553 |
Even though i check "use same account", it basically uses the same login/password info, but still creates a brand new account with the root location unrelated to the main domain's location:
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 -------------------- |
|
|
|
Aug 1 2008, 07:47 PM
Post
#6
|
|
![]() the owner3r Group: Administrators Posts: 1,468 Joined: 4-April 06 From: North Wales, UK Member No.: 4 |
How is that affecting you though? As you can still upload files the same right?
-------------------- |
|
|
|
Aug 2 2008, 01:42 PM
Post
#7
|
|
|
W.R. Corporal Group: Members Posts: 96 Joined: 8-July 08 From: Phoenix, AZ Member No.: 1,043 |
This is probably a stupid question with an obvious answer, but.. if you want it to be in a directory on your root, with all the same stuff as the root, why do you need it to be a subdomain? Wouldn't "whatever.com/test" produce the result you're looking for?
-------------------- |
|
|
|
Aug 9 2008, 01:28 AM
Post
#8
|
|
|
W.R. Private Group: Members Posts: 2 Joined: 9-August 08 Member No.: 1,112 |
Even though i check "use same account", it basically uses the same login/password info, but still creates a brand new account with the root location unrelated to the main domain's location: 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? -------------------- Make Money Online - shows you ways to make money online that work for me.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 3rd December 2008 - 05:11 PM |