Koozali.org: home of the SME Server

Website

Don Whitley

Website
« on: November 15, 2003, 07:45:17 PM »
When trying to access my website which is hosted by another ISP I always get the e-smith website. Is there a way to have my www.mycompany.com point to my isp thats hosting my website and oe e-smith. I'm only want to use e-smith for ftp, and portforwarding

Bill

Re: Website
« Reply #1 on: November 15, 2003, 09:21:30 PM »
You need to modify your dns records to point www requests to the correct ip addy.

SloopJohnB

Re: Website
« Reply #2 on: November 15, 2003, 11:00:23 PM »
I have a similar issue and this is what I did:

I have an outside webhosting company hosting www.xxxxxx.com, they are forwarding all email to my sme server at yyyyyy.com. I created a virtual host on my sme server called xxxxxx.com. Under hostnames and addresses (in server-mgr) I modified all the the hostname entries for remote location and pointed them to the IP address of the 3rd party WEBHOSTING server.
The results:
When i type in xxxxxx.com it simply goes to my SME box, when I type in ftp, www, or mail.xxxxxx.com, it goes to the remote 3rd party webhosting server. Note, this is only when I access this from within the LAN, all requests made from outside my LAN are treating by the normal DNS servers at the ISP from which I am using.

Hope this helps....

SloopJohnB

Ray Mitchell

Re: Website
« Reply #3 on: November 15, 2003, 11:33:51 PM »
Perhaps even easier is to just modify the .../Primary/index.htm file and put a link to your external web site eg www.ispdomainname.com/yoursite
All primary site www traffic will be redirected to the external site, all other "mycompany.com" traffic will go to your sme server ie mail, ftp, even ibays www traffic if you want eg www.mycompany.com/ibayname
Regs
Ray