Hi all,
I don´t want all the trafic to my local network.
So I set my nameserver like:
www.mydomain.com A 123.123.123 (my provider hosting my public www)
*.mydomain.com A 123.123.123 (my dynamic IP to SME)
Outside my network it´s ok. When you go to
www.mydomain.com you see the pages hosting by my provider. And when you got to mydomain.com or virtualhost.mydomain.com you see the pages hosting local.
But of course when i go to
www.mydomain.com inside my network I see my local web. I tryed to replace all the "www" to "www1" in httpd.conf and restart httpd. But it didn´t work (i know not to edit the httpd.conf; it was only for test)
Which files must I edit to have only access to my primary domain without the "www" on my local network?