Koozali.org: home of the SME Server

Can not use virtual domains within local network (SOLVED)

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Can not use virtual domains within local network (SOLVED)
« 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
Rien
(The Netherlands)......

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Can not use virtual domains within local network
« Reply #1 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?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Can not use virtual domains within local network (SOLVED)
« Reply #2 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.
Rien
(The Netherlands)......

Offline pfloor

  • *****
  • 889
  • +1/-0
Can not use virtual domains within local network (SOLVED)
« Reply #3 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.
In life, you must either "Push, Pull or Get out of the way!"

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Can not use virtual domains within local network (SOLVED)
« Reply #4 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
Rien
(The Netherlands)......

Offline Smitro

  • *
  • 350
  • +0/-0
Can not use virtual domains within local network (SOLVED)
« Reply #5 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
.........

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Can not use virtual domains within local network (SOLVED)
« Reply #6 on: December 19, 2006, 01:34:13 AM »
Thanks Smitro,

That did the trick. This is not mentioned in the SME7-manual.
Rien
(The Netherlands)......

Offline Smitro

  • *
  • 350
  • +0/-0
Can not use virtual domains within local network (SOLVED)
« Reply #7 on: December 19, 2006, 01:36:27 AM »
yeah, I couldn't do without this forum!
.........

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Can not use virtual domains within local network (SOLVED)
« Reply #8 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.

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
Can not use virtual domains within local network (SOLVED)
« Reply #9 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,
Rien
(The Netherlands)......