Add on and Sub-Domains?


#1

At my present host I can go to domain management, and I can create an Add-On domain (up to 10) to go with my 1 main domain of vernsdidj.com So my wife’s domain is actually scottieluvr.vernsdidj.com but to the outside world it looks like http://scottieluvr.com or www.scottieluvr.com and you CAN access it by scottieluvr.vernsidj.com as well. All the add on domains look like www.yourdoamin.com from the outside world even though they are a sub folder withing the main folder under public_html folder. Make sense?

So my inquiry is, can I do the same thing here at Dreamhost? Can I create a main domain (lest’s say scottieluvr.com) and then create add on domains under it (let’s say vernsdidj) and would THOSE add-on domains appear out on the internet to the users as http://vernsdidj.com or www.vernsdidj.com? and not as some subdirectory?

I have several registerd domains with Tucows, Inc. and all I would have to do is go into my domain management program and change the nameservers to ns1.dreamhost.com etc etc and they should propagate throughout the internet after a period of time. correct?

My understandin of Domain names and Host is you can have a domain name registered and controlde by a reseller, but have that domain name hosted by a webhost of a different company, ‘AS LONG AS’ you change the nameservers to the webhost’s nameservers where the domain resides . This is what I’ve managed to do for http://jenefarm.com and http://jenewein.us

One things I thought was kind of odd, is that even though I own the domain name jenewein.us I can propagate it on a server with the extension of .com ie vernsdidj.com BUT it can only be accessed properly as http://www.jenewien.us or same without the www.

Also, is there a phone number to call and talk to SALES?

Cheers!
Vern
http://vernsdidj.com didgeridoo info and more


#2

yes you can forward anything.yourdomain.com to yourdomain.com


Get [color=#CC0000]$97[/color] Off with promo code :[color=#CC0000]97USA[/color] :cool: -->choose your plan (promo code included)


#3

Yes, in what I consider the somewhat strange logic that is cpanel.

You can do one better here at DreamHost. You can set up your web directories however you want, but the default way is that (under the assumption that you only set up one unix id for your domains), all domains and subdomains are set up with their web directory set to subdirectories of your user home directory.

For example, if your username is darthaksarben, the following will be the default setup:

  1. Your home directory will be /home/darthaksarben.
  2. The web directory for scottieluvr.com will be /home/darthaksarben/scottieluvr.com
  3. The web directory for vernsdidj.com will be /home/darthaksarben/vernsdidj.com
  4. The web directory for blog.vernsdidj.com will be /home/darthaksarben/blog.vernsdidj.com

I think it’s a model of simplicity and is very intuitive.

Correct!

I think the oddness is only a result of having to live with the weirdness of the web directory setup for cpanel. The hosting for jenewein.us and vernsdidj.com are TLD (.com, .us) independent. There’s no such thing as a “server with the extension of .com”. The apache web server will serve any domain or subdomain that it’s set up to serve.

There is some performance fanciness associated with glue records and having your nameserver having the same TLD as your domain, but that’s beyond most people’s need to understand.

There isn’t, really. You can contact sales via the following contact form:
http://dreamhost.com/contact.cgi

Free unique IP and $67 off with code [color=#CC0000]LMIP67[/color] or use [color=#CC0000]LM97[/color] for $97 off. Click for more promo code discounts


#4

DreamHost doesn’t actually include “add-on” domains as you understand them; you’re coming from a cPanel background which has a completely different structure. From what I can tell, you’ve had a single cPanel account which allows sub-domains and add-on domains, but only under one main domain account (no usage of WHM).

As Lensman has described, all your domains and sub-domains are of equal weight, and they each reside in your home directory as subdirectories. You are allowed an unlimited number of domains and sub-domains, so “add-on” domains are not needed; you simply add vernsdidj.com and scottieluvr.com and both will be independent from each other in terms of directories. scottieluvr.vernsdidj.com won’t exist however, and even if you did add it, it would be completely separate from scottieluvr.com, unless you set scottieluvr.com to mirror it.


Promo Code: [color=#CC0000]FREEZAP[/color] - Save $50 and gain a free lifetime unique IP! Or… Save $97 with [color=#CC0000]DREAMZAP[/color].


#5

Just to add a little to what has been said, you may add as many separately hosted domains to your DH account as you’d like, they will all be placed into your home user directory in whatever folder structure you would like for them to be in. You may have each in a completely separate folder, or you may place folders within folders… totally up to you.

home/dwr/ would be where my domains would be hosted. I could have, say three domains each with their own directory as such

home/dwr/domainone
home/dwr/domaintwo
home/dwr/domainthree

When creating these directories in the Manage Domains of my DH panel, all I would have to do is create the domainone (or two or three) part… it would automatically be placed into the home/dwr/ location by the panel, because that is my account’s place on the server.

If I were to have a domain AND a subdomain off of it, I would have a couple of options… I could have it set up as

home/dwr/domainone for the main and
home/dwr/subdomain for the sub, or I could choose to go the route of
home/dwr/domainone/subdomain if I want.

Hope that helps to visualize. One you get to playing with it yourself though it should all make BEAUTIFUL sense, and you will probably find it to be the most simple and commonly sensed way of setting up domain directories that’s possible!


#6

Pretty sweet! So I don’t necessarily need so setup an account with one of the names of my registerd domains, (as before) I could set up an account named “jenewein” and it would be home/jenewein/
And to add jenefarm.com to it, it would be home/jenewein/jenefarm.com and jenewein.us would be home/jenewein/jenewein.us same as vernsdidj being … home/jenewein/vernsdidj.com

Does the .com and .us need to be on the end? Probably to distinguish the TLD huh? The server doesn’t care. Kind of reminds me of Linux Mandrake I had.

Now to create email for home/jenewein/jenewein.us I would need to add names and passwords in the panel somewhere, correct?

Gotta love Dreamhost. BTW, a few years ago, when we were hosted by iPowerWeb we had a domain called newdreamsvineyard.com kind of reminds me of this company, new dreams. S

Cheers!
Vern
http://vernsdidj.com didgeridoo info and more


#7

“Now to create email for home/jenewein/jenewein.us I would need to add names and passwords in the panel somewhere, correct?”

Over to the left of your panel, go to Mail/Manage Email and you’ll see a big ol button for creating email addys!

I would read the wiki articles on mail too… until I did that I had no idea about such cool things as SSL for added security. As a matter of fact, I would make that wiki your casual reading for the next few days… there is an AMAZING amount of useful info in there, and a lot of it may be things that you’ve never heard about or understood before, but after reading you’re grateful to know as I have been.


#8

That is great advice for anyone “new to DreamHost”, and a lot of questions many have are answered there in a very useful and accessible way.

It’s really encouraging to those that work on the wiki to hear that; several users of these forums are regular contributors to the wiki (though none as prolific as scjessey!). and it is great that their work is appreciated.

Don’t forget that the wiki is editable by anyone, and you should feel free to “jump right in” and share something that you have learned, or improve what is there, to make it even better and more useful! :slight_smile:

Hey, it is a wiki, so you can’t be “thin-skinned” if somebody “edits your edits”, or changes what you write, but all that input is what makes it so great. :wink:

–rlparker


#9

Do each of the domains have their own FTP account which just goes straight to that domains folder?

I’m thinking in terms of giving someone access to one domain but not wanting them to have access to your whole account (as in where they would be able see all the hosted domain names).


#10

They can; it depends how you set them up when you “Add” them in the control panel.

You can set them up on an existing user, in which case they will have a directory (folder) beneath that user just like already existing domains or you can set them up under a different (new, or other existing) user, in which case they will have a directory created in that user’s space.

At FTP login, the user is place in their user directory - domains they control are in folders “under” that directory.

For what you want to do, you want to create a new user to go with that “other” domain/sub domain. You can create the user first in the panel if you want (Under “users”) or you can assign the domain/subdomain to a “new” user when you “Add” it in the “Manage Domains” screen of the panel.

Doing that, either way, will give that second, or additional, user, their own set of login credentials, and when they log in they will be placed in “their” user space (directory), where their domains are in directories within that space.

–rlparker


#11

You can also make any of your domains or subdomains mirror any of the others, which might be handy if you need to replicate some legacy setup where you had site traffic coming in under both somedomain.us and somedomain.maindomain.us to the same site. Dreamhost gives you great flexibility in managing and using your domains.

– Dan


#12

DreamHost Domain CP have a feature that you can forward any url looks like http://domain.com/anything-blah-blah/ to http://www.domain.com/anything-blah-blah/. I really like this feature.

DreamHost rock!
[color=#00CC00]Another hosting I recommend.[/color]


#13

Then it will not make any duplicate content issues with all search engine. :slight_smile:

DreamHost rock!
[color=#00CC00]Another hosting I recommend.[/color]