Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Rien on December 18, 2006, 08:07:34 PM

Title: Can not use virtual domains within local network (SOLVED)
Post by: Rien on December 18, 2006, 08:07:34 PM
Hi all,

I'v a domain "taurix.nl" that I redirected to my SME-server (via DNS). So I set up a virtualdomain "taurix.nl" and pointed that to an ibay "taurix" on my primary-domain.

From the outside world, it works fine. The site can be reached from the outside world.

But when I want to go to the site of Taurix.nl from the local network, it don't work. It then tries to open the the manager of my router.

From within my local network I have to go to http://my.primairydomain.nl/taurix to open the site.

My router redirects all incoming HTTP directly to my SME-server.

Am I missing something?

Code: [Select]

                                |
                            internet
                                |
                                |
                           Vigor 2900G
                              router
                        IP 192.xx.xx.1
                                |
                                |
        _____________________________________........._
       |                        |         |           |
   SME-server 7.0              PC1       PC2         PCn
(Server-only mode)
  IP 192.xx.xx.10
Title: Re: Can not use virtual domains within local network
Post by: cactus on December 18, 2006, 10:53:14 PM
Quote from: "Rien"
From the outside world, it works fine. The site can be reached from the outside world.

But when I want to go to the site of Taurix.nl from the local network, it don't work. It then tries to open the the manager of my router.
Did you perhaps configure the server not to do the look-up for local systems and configure a DNS server in the configuration panel during installation?
Title: Can not use virtual domains within local network (SOLVED)
Post by: Rien on December 18, 2006, 11:07:16 PM
Hi cactus,

I let the field of the DNS-servers ip-adres blank because I have access to the internet and I have no other DNS-server in my local network.
Title: Can not use virtual domains within local network (SOLVED)
Post by: pfloor on December 18, 2006, 11:28:39 PM
Is your router providing DHCP for the network?  If so, then you need to change that so SME is doing DHCP and not the router.

1-Disable DHCP on the router.
2-Enable DHCP on SME.  Assign .100 to .150 (or something like that)
3-Reboot client machines and let them get new IP's and DNS settings from SME.
Title: Can not use virtual domains within local network (SOLVED)
Post by: Rien on December 19, 2006, 12:01:31 AM
Hi Pfloor,

I have now disabled DHCP on the router and enabled it on my SME-server.

I don't matter. The problem is still there
Title: Can not use virtual domains within local network (SOLVED)
Post by: Smitro on December 19, 2006, 12:06:58 AM
Did you make sure that the domains are set to resolve locally?

Go into server manager, then click Modify next to the domain. Then under 'Domain DNS servers' select "Resolve locally"

I had a similar problem a while back...
http://forums.contribs.org/index.php?topic=34435.0
Title: Can not use virtual domains within local network (SOLVED)
Post by: Rien on December 19, 2006, 01:34:13 AM
Thanks Smitro,

That did the trick. This is not mentioned in the SME7-manual.
Title: Can not use virtual domains within local network (SOLVED)
Post by: Smitro on December 19, 2006, 01:36:27 AM
yeah, I couldn't do without this forum!
Title: Can not use virtual domains within local network (SOLVED)
Post by: CharlieBrady on December 19, 2006, 03:41:34 AM
Quote from: "Rien"
This is not mentioned in the SME7-manual.


Please open a bug in the Documentation section of the Bug Tracker.
Title: Can not use virtual domains within local network (SOLVED)
Post by: Rien on December 19, 2006, 09:59:47 PM
Hi Charlie,

I opened a bug in the documentation section: Bug 2182 (http://bugs.contribs.org/show_bug.cgi?id=2182)

Thanks,