Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sub domain to sub folder DNS help! Rate Topic: -----

#1 User is offline   TomazWS

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 19
  • Joined: 02-August 07

Post icon  Posted 01 August 2008 - 04:35 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!
0

#2 User is offline   Sirkent

  • Loose bits sink chips
  • Icon
  • Group: Administrators
  • Posts: 2,101
  • Joined: 04-April 06
  • Gender:Male
  • Location:Kent, UK

Posted 01 August 2008 - 05:21 AM

Maybe get in touch with your host?

Alternatively, is serving the content from another directory really a big problem?
QUOTE(benbramz @ Aug 17 2007, 07:44 AM) <{POST_SNAPBACK}>
Ive noticed that quite a few people are now adding quotes from the board into their signature. I think its started an new web-radiance craze.. :P
0

#3 User is offline   TomazWS

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 19
  • Joined: 02-August 07

Posted 01 August 2008 - 12:00 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:
Posted Image

Plesk:
Posted Image

I have contacted Media Temple and so far none of them techs know how to set it up the cPanel way.....
0

#4 User is offline   sypher

  • the owner3r
  • Icon
  • Group: Administrators
  • Posts: 1,571
  • Joined: 04-April 06
  • Location:North Wales, UK
  • Interests:Art, Boxing, MMA, Graphic Design, Web Design etc. ;)

Posted 01 August 2008 - 12:05 PM

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.)
sypher design - North Wales Web Design | Latest Work: - Official Prestatyn FC

CSS - Cant See Sh*t
0

#5 User is offline   TomazWS

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 19
  • Joined: 02-August 07

Posted 01 August 2008 - 01:02 PM

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
0

#6 User is offline   sypher

  • the owner3r
  • Icon
  • Group: Administrators
  • Posts: 1,571
  • Joined: 04-April 06
  • Location:North Wales, UK
  • Interests:Art, Boxing, MMA, Graphic Design, Web Design etc. ;)

Posted 01 August 2008 - 07:47 PM

How is that affecting you though? As you can still upload files the same right?
sypher design - North Wales Web Design | Latest Work: - Official Prestatyn FC

CSS - Cant See Sh*t
0

#7 User is offline   jameson

  • W.R. Corporal
  • Icon
  • Group: Members
  • Posts: 114
  • Joined: 08-July 08
  • Gender:Male
  • Location:Phoenix, AZ
  • Interests:These days I eat, sleep, and breathe web design with no time for much else. I sure dig some good techno, though.

Posted 02 August 2008 - 01:42 PM

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?
0

#8 User is offline   Porsche

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 4
  • Joined: 09-August 08

Posted 09 August 2008 - 01:28 AM

View PostTomazWS, on Aug 2 2008, 02:02 AM, said:

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?
0

#9 User is offline   Sara

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 3
  • Joined: 29-December 08

Posted 29 December 2008 - 05:41 AM

View PostTomazWS, on Aug 1 2008, 01:00 PM, said:

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:
Posted Image

Plesk:
Posted Image

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. :smilie_xp:
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users