Web Hosting Talk







View Full Version : Need help configuring virtual domains


Lord MJ
09-16-2001, 03:46 PM
I've set up Apache on my home pc, with php and jsp :)

However I now want to set up some virtual domains on my server.

I already made the necessary modifications to httpd.conf. However I assume that I have to do something with my DNS server to have virtual domains on my computer. It isn't just a simple matter of setting the domains DNS entries to the address of my machine is it?

How do I modify my DNS server so I can host virtual domains?

jks
09-16-2001, 07:47 PM
Originally posted by Lord MJ
I already made the necessary modifications to httpd.conf. However I assume that I have to do something with my DNS server to have virtual domains on my computer. It isn't just a simple matter of setting the domains DNS entries to the address of my machine is it?

Actually it is!

Lord MJ
09-16-2001, 09:51 PM
So if I wanted to host mj99.net on my machine which say is located at myname.gatech.edu

I just go to the registrar for mj99.net and change it's DNS server to mj.gatech.edu?

jks
09-17-2001, 02:07 AM
Originally posted by Lord MJ
So if I wanted to host mj99.net on my machine which say is located at myname.gatech.edu

I just go to the registrar for mj99.net and change it's DNS server to mj.gatech.edu?

Not necessarily. But yes, you can do that. You must then setup an A record in DNS on mj.gatech.edu with the IP address you have mj99.net on.