DNS pointing to a virtual domain rather than main server domain name?

Let’s say my server machine is “server1.example.com” and I have 3 different name-based virtual domains under server1.example.com. For instance…

server1.example.com (name of my server machine - DocumentRoot/Directory is public_html)
www.site1.com (a virtual domain - DocumentRoot/Directory is public_html\site1)
www.site2.com (another virtual domain - DocumentRoot/Directory is public_html/site2)
www.site3.com (yet another virtual domain - DocumentRoot/Directory is public_html/site3)

Do I first have to point the DNS (in my registrar) to server1.example.com before any of the virtual doamins will work or can I point the DNS to only a single virtual domain (by itself) without pointing anything to the example.com domain (my machine’s name)?.

What is happening is that example.com is resolving very quickly but site1 seems to be taking forever to resolve or not resolving at all when I only point the DNS to it.

Incidentally, “example.com” (not the actual name of course) is registered with Network Solutions and “site1.com”, “site2.com” and “site3.com” are registered with Godaddy.com.

Not sure if the issue is what I asked about above -or- if one registrar simply takes much longer to deal with DNS changes than the other.

Can anyone here provide some input on this?.

  • Much appreciated!, Sid

Hm, a bit of explanation from youre side would be welcome. No mentioning of which openSUSE level can be found by me.

The expression “DocumentRoot/Directory is public_html\site1” I can not understand with respect to DNS. The “” is a strange character in any naming convention known by me.

And, when it is a DNS prblem, you posting in Network/Internet would probably have found more network gurus.

Thank you for the reply. My apologies, it should have read “/” (not “”). If one of the Moderators here would be kind enough to relocate this post/thread to the Networking/Internet section, I would appreciate it :).

  • Thank you, Sid

Moved.

And for those who are searching for the strange \s, I changed them to /s.

Not that I now understand what a virtual domain in DNS is, but that is something for those who realy understand networks/Internet/DNS.

And there is still not the basic information about what level of openSUSE this is.

Thank you for moving this thread. If by “level” you mean which version, I am using OpenSuse v 12.1. I have the LAMP pattern installed and am doing administration through Yast2.

Hope this helps some.

  • Sid