Domains and Folders

demonhale's picture

He has: 3,278 posts

Joined: May 2005

I have been confronted today with a question I dont know specifically the answer to. one of my clients has a domain and web hosting from a site, lets name it... host.com;

Now he got an ample amount of space on the hosting account since hes using it only as an online contacts page for himself. Now he bought 3 domain names from another domain hosting site, lets name it... gopapa.com;

The question is he wants each of those domain from gopapa.com to point to a unique folder on his hosting account at host.com...

I told him he could use domain forwarding or the much worse method of framing...
I also tried to tell him to research about DNS and whatnots to no avail...

He wants it to function like a legitimate site. so how does one go about to doing this?

Thanks in advance

Busy's picture

He has: 6,151 posts

Joined: May 2001

I don't think you can use a domain name on a folder

gopapa.com => host.com
gomama.com => host.com/folder/

as the dns also works via IP address and the folder doesn't have one - I could be wrong, you could use a redirect page but isn't SE friendly

Changing to a reseller account would be what they wanted, but would be different sites per name

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

I know hosts like Pair.com have this sort of thing built in. He might double check with his host and see if he has anything like that already available.

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

Some hosts will let you host more than one domain in one hosting package - that's basically what he wants, right? Poke around in the control panel and see if there's a way to add a domain. Otherwise, ask the hosts or find another hosting plan that allows this.

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

I also use pair, and have several domains on my account. One thing to note though, pair gives you a separate IP address for each domain you host.

when you sign up with them, your account gets: [url]http://server[/url].pair.com/username
This in the filesystem is mapped to: /set_path/users/username

What I do is create a new directory for each domain of my "root" web path, and when setting up the domain, point it to those. ie
/set_path/users/username/domain1
/set_path/users/username/domain2
/set_path/users/username/domain2

This makes it much easier to manage. Technically then, the site that is accessable from http://www.domain1.com/ can also be acessed via [url]http://server[/url].pair.com/username/domain1

-Greg

demonhale's picture

He has: 3,278 posts

Joined: May 2005

Thanks for all the info, I guess hell have to ask hist host for this... I told him to get a minimum hosting account for the new domain names also, less hassle on his part...

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.