Welcome Guest ( Log In | Register )


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:
  • have your say by posting new messages and taking part in topics and polls
  • keep up to date with the latest news and trends in the web design and development world
  • send private messages to other members
  • have your questions answered by our knowledgeable community
  • add a link to your website in our links area
  • receive emails when someone replies to your posts

Sub domain to sub folder DNS help!

 
Reply to this topicStart new topic
> Sub domain to sub folder DNS help!,
TomazWS
post Aug 1 2008, 04:35 AM
Post #1


W.R. Private
Group Icon

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!


--------------------
Go to the top of the page
 
+Quote Post
Sirkent
post Aug 1 2008, 05:21 AM
Post #2


Loose bits sink chips
Group Icon

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?


--------------------
QUOTE(benbramz @ Aug 17 2007, 07:44 AM) *
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
Go to the top of the page
 
+Quote Post
TomazWS
post Aug 1 2008, 12:00 PM
Post #3


W.R. Private
Group Icon

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.....


--------------------
Go to the top of the page
 
+Quote Post
sypher
post Aug 1 2008, 12:05 PM
Post #4


the owner3r
Group Icon

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.)


--------------------
sypher design - North Wales Web Design | Latest Work: - Celtic DEA

CSS - Cant See Sh*t
Go to the top of the page
 
+Quote Post
TomazWS
post Aug 1 2008, 01:02 PM
Post #5


W.R. Private
Group Icon

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


--------------------
Go to the top of the page
 
+Quote Post
sypher
post Aug 1 2008, 07:47 PM
Post #6


the owner3r
Group Icon

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?


--------------------
sypher design - North Wales Web Design | Latest Work: - Celtic DEA

CSS - Cant See Sh*t
Go to the top of the page
 
+Quote Post
jameson
post Aug 2 2008, 01:42 PM
Post #7


W.R. Corporal
Group Icon

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?


--------------------
Go to the top of the page
 
+Quote Post
Porsche
post Aug 9 2008, 01:28 AM
Post #8


W.R. Private
Group Icon

Group: Members
Posts: 2
Joined: 9-August 08
Member No.: 1,112



QUOTE (TomazWS @ Aug 2 2008, 02:02 AM) *
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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 3rd December 2008 - 05:11 PM
Contact Us
Web Design Forum | Web Development Forum | Web Help