Koozali.org: home of the SME Server

www access

tonylees

www access
« on: October 28, 2008, 01:37:41 PM »
Hi all, I have just installed SME 7.3 and got everything configured correctly (I think) now I can access my server by typing tslserver.homelinux.com but I can't if I add www. infront

I am using a belkin F5D9630 V4 router and I have entered my local IP in to the DMZ but this doesn't appear to have any effect, I went in to virtual servers and selected the services I want to use (http, https, pop3, smtp & FTP) and then I could access the server as detailed above but why can't I access with www. infront?


Any help would be appreciated... as you may have figured out this is my first step in to running a server so please be gentle lol

Cheers
Tony
 

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: www access
« Reply #1 on: October 28, 2008, 03:13:03 PM »
You obviously have looked here:
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Domains
as you are using the example domain given.

On the screen above I set the Domain DNS Servers entry to Internet DNS servers this makes the domains on the inside of the LAN look just like they would from the internet. You must have your DNS records set up on the internet for this to work. See link below and google dns A record to learn more.

Have you also looked at this?
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Appendix#Appendix_B._DNS

Quote
I have entered my local IP in to the DMZ
This is not the best way as you are losing the extra security provided by your NAT router. (it is fine for testing to eliminate the firewall as the problem but should not be used as a long term solution.)

Quote
I went in to virtual servers and selected the services I want to use (http, https, pop3, smtp & FTP)
This is the best practice as it only creates "pinholes" to your server instead of blowing a "big hole" in your firewall..... :smile:

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: www access
« Reply #2 on: October 28, 2008, 04:35:54 PM »
> tslserver.homelinux.com

Looks like you are using one of DynDNS's free domain names.  They own homelinux.com and let you use tslserver.homelinux.com.  Putting www in front of that should be possible in 2 ways, by configuring you DynDNS account and setting the hostname:

Code: [Select]
www.tslserver.homelinux.com
You are limited to 5 of these so if you have more than 5, you will need to set a wildcard on your DynDNS account like this:

Code: [Select]
*.tslserver.homelinux.com
Then <anything>.tslserver.homelinux.com will resolve to your machine.  (Not desired unless you have to do it this way).

NOTE: If you decide to add "www.tslserver.homelinux.com" to your DynDNS account, then you may need to add that hostname to your server as it does not automatically add a hostname that way unless you specified tslserver.homelinux.com as your domain name (not tslserver as the machine name and homelinux.com as the domain name) when you set up your server.
In life, you must either "Push, Pull or Get out of the way!"