problems understanding relation

dacloo

New member
Joined
Aug 3, 2006
Messages
4
Hi there,

[newbie warning]

With my webhost I have several domain names.
I can edit the DNS so that they can point to my
own webserver which runs Directadmin.

I am not sure about the relationship admin -> reseller -> user. How can I point several domains to several packages on the same IP?

E.g:

www.blah.com -> 150.146.2.300/domain_blah
www.hithere.com -> 150.146.2.300/domain_hithere

150.146.2.300 would then be my server,
/domain_blah and /domain_hithere are just there to show that I want to point them to 'folders' I need to add somewhere in DA.

Basicly, I cannot find an introduction how to point several domains to a certain location on my server.
Anyone? :-)

Thanks!
 
Hello,

The first thing to learn is that dns is for IP addresses only. It doesn't not resolve paths.

Assuming your User account is setup to be on the 300 IP address, then name based hosting will figure it all out for you.

Just create the 2 domains in your User account and everything should start working once apache restarts.

Note that each domain would have it own path in:
/home/username/domains/domain.com/public_html
and not the paths you've specified.. if you want it to redirect, use a php script or htaccess file to redirect the user to different paths after they connect.

John
 
Back
Top