Setting up a domain with a dedicated server

Posted by Andrew M on Server Fault See other posts from Server Fault or by Andrew M
Published on 2011-01-30T22:24:02Z Indexed on 2011/01/30 23:27 UTC
Read the original article Hit count: 217

Filed under:
|
|

I have a dedicated server with a bunch of stuff on it already. Basically, I am accessing it now with the free domain I got when I purchased the server (http://example.com/directory, etc).

I also have a second domain I want to use with a specific subdirectory (http://exampletwo.com/ should basically work as if I were under http://example.com/two, but it should use the exampletwo domain.

I would assume I would change the A record of the second domain to the IP of the server, but how do I make it work with a subdirectory? I have full DNS control of the second domain but it is purchased on from a different registrar than the dedicated server.

EDIT: It is a CentOS 5 server running Plesk/Virtuozoo.

© Server Fault or respective owner

Related posts about dns

Related posts about domain