Koozali.org: home of the SME Server

How to Change Named WWW Record

Craig

How to Change Named WWW Record
« on: January 10, 2002, 12:54:29 PM »
I have a stock standard E-Smith SME v5.0 installed to a site running on a microwave link. I have configured SME in gateway/server mode running 2 NIC,s. One for the internal network and one for the external network. I have a statick IP supplied by the ISP on the external NIC and the internal NIC also has a static IP eg 192.168.1.1.

I have setup DHCP and transparent proxying for the internal workstations. The internet browsing, ftp etc all works fine.

I have called the server for eg: "internet" and the domain eg: "domain1.com".

The problem is that this companies website is being hosted by the ISP and not on the E-SMith server, and everytime an internal user tries to get to the www.domain1.com they get the default E-Smith website from the local server.

Is there away to change this in E-Smith? Internal users don't want to see the local E-SMith default webpage but the one hosted by the ISP.

On other distro's when you run your own DNS you just need to edit the www or A record in named and point it to your ISP's web server.

I still want the entry of domain1.com hosted locally as the ISP will point the MX record for this domain to the IP address of the server.

Have I missed something simple in the initial configuration?

Any help would be appreciated.

Regards
Craig

Bobby

Re: How to Change Named WWW Record
« Reply #1 on: January 10, 2002, 01:07:14 PM »
I have a few users with similar problems.  The steps I take are:

1)  Remove the WWW entry from the host section of the control panel.
2)  If Step 1 does not fix the problem, I then make a WWW entry with the IP address of the "real" web server.
So far, it has worked every time.

~B

Craig

Re: How to Change Named WWW Record
« Reply #2 on: January 10, 2002, 02:10:42 PM »
Bobby

Does your email still work if you remove the domain from the control panel entry?

I suppose what we really is rather than the named point for the primary IBAY being pointed to the local IP address of the server we want it to point to the webserver of the ISP.

Craig

Bobby

Re: How to Change Named WWW Record
« Reply #3 on: January 10, 2002, 02:17:48 PM »
Don't remove the domain, just the WWW entry from the list.  

You can mail me direct, if you like, and I will talk you through what I am saying.

~B

mark Leman

Re: How to Change Named WWW Record
« Reply #4 on: January 11, 2002, 12:11:57 PM »
I had the same problem last week and forund the answer by searching here :

http://forums.contribs.org/index.php?topic=11366.msg42759#msg42759

This works for me, with users able to view local web sites (ibays allocated to virtual domains) recieve email and access 'mydoman.com' hosted on our ISP.

The only problem I now have is that before we could view the web content of ibays not allocated to virtual domains using www.mydomain.com/ibay-name, now it looks for them on the ISP where they are not! For the moment I have to browse to the ip address of the e-smith-box/ibay-name.

** new idea - just gone away and added 'local.mydomain.com' pointing to my e-smith box and now we can browse the ibays at 'local.mydoman.com/ibay'

Hope that helps - Mark Leman
All spelling mistakes (C) 2002