Web Hosting Forum | Lunarpages
News: November 3, 2008 - Enter Your URL in to WIN the November Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 18, 2008, 10:47:55 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Creating Subdomains  (Read 557 times)
AlexGator
Intergalactic Superstar
*****
Offline Offline

Posts: 146


The Gator Fan


« on: March 27, 2007, 06:01:12 PM »

I have a question about creating subdomains.

I've I have more than one domains registered and I want to create let's say sub.myfirstdomain.com and sub.myseconddomain.com it creates subdomains that point to same folder, but they should be completely different websites. Is there are way to specify what folder it should use for each website?
Logged
RandyT
Global Moderator
Über Jedi
*****
Offline Offline

Posts: 2559


Amy's Personal Assistant


« Reply #1 on: March 27, 2007, 06:12:46 PM »

Hey AlexGator,

A subdomain name points to a subfolder of the primary domain. For instance, cats.pets.com would point to a subfolder such as /cats under the primary domain of pets.com. Its content is separate from the main site so it can act like a separate site though usually it will have some relevance to the main site as you can see above.

A subdomain can also be used on our system to redirect to somewhere else and create a shorter way to get there. For instance, mymail.mydomain.com could be redirected to http://mydomain.com/webmail/horde/ to get to webmail easier and force the use of the Horde webmail client.

Unlimited subdomains come with each hosting account.




An add on domain allows you to run a separate web site to your primary domain. When you create an add on domain it makes a folder in your public_html folder and you upload the site content into that folder.

So, essentially you are running 2 separate sites, separate content, off one account.

The Basic plan and Business plan both come with 10 addon domains included. This does not include domain registration.

I hope this helps,
Feel free to ask any other questions you may have,
RandyT
Logged

Randy T.
AlexGator
Intergalactic Superstar
*****
Offline Offline

Posts: 146


The Gator Fan


« Reply #2 on: March 27, 2007, 06:22:18 PM »

Hey AlexGator,

A subdomain name points to a subfolder of the primary domain. For instance, cats.pets.com would point to a subfolder such as /cats under the primary domain of pets.com. Its content is separate from the main site so it can act like a separate site though usually it will have some relevance to the main site as you can see above.

A subdomain can also be used on our system to redirect to somewhere else and create a shorter way to get there. For instance, mymail.mydomain.com could be redirected to http://mydomain.com/webmail/horde/ to get to webmail easier and force the use of the Horde webmail client.

Unlimited subdomains come with each hosting account.




An add on domain allows you to run a separate web site to your primary domain. When you create an add on domain it makes a folder in your public_html folder and you upload the site content into that folder.

So, essentially you are running 2 separate sites, separate content, off one account.

The Basic plan and Business plan both come with 10 addon domains included. This does not include domain registration.

I hope this helps,
Feel free to ask any other questions you may have,
RandyT
I probably didn't make my question clear. Let me explain my situation.

I have 4 addon domains besides primary domain.
Each addon domain has a folder inside public_html.

Let's say I create subdomain for one domain (using cPanel) test.domainone.com it will automatically create folder /public_html/test.

Now if I create other subdomain test.domaintwo.com it creates folder /public_html/test again, but since it's already there it just uses same folder for different subdomain.

I can't find the way to personalize it, to make it to go to let's say /public_html/test2
Logged
RandyT
Global Moderator
Über Jedi
*****
Offline Offline

Posts: 2559


Amy's Personal Assistant


« Reply #3 on: March 27, 2007, 06:49:06 PM »

OK, sorry I misunderstood you. You  can't have the same foldername or subdomain. You would have to create a subdomain called say test2 and then that would create a directory called /test2.

I hope this helps,
RandyT
Logged

Randy T.
jeffcole455
Newbie
*
Offline Offline

Posts: 2


WWW
« Reply #4 on: July 13, 2008, 05:02:02 PM »

Thank you, Randy.  This was very helpful to me too.

Jeff
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM