Koozali.org: home of the SME Server

iis sme

smehelp

iis sme
« on: April 14, 2004, 09:36:40 PM »
i am trying to set this up for the first time.
I am new to the linux environment and am trying everything to learn it well. I just installed sme 6. I want to try it out for a period of time before completely switching over to it as I understand it is more secure than any windows machine out there. I am currently running IIS on an xp machine and would like to keep it like that for a while. The thing is I have static internal ips on both machines. I would like to access both websites but am not sure how I can change the port on the sme server. If I get my router to point to the ip on the sme machine (lets say it is 192.168.1.4) it works fine but I dont want it to respond on port 80 because that is where I have my iis machine running (ip 192.168.1.1) any suggestions comments would be greatly appreciated. basically I would like to see if i can type on the browser something such as http://bla.com/sme and it take me to that machine or even http://bla.com:180 where 180 would be the port on the sme server.

gbaird

howto sme
« Reply #1 on: April 14, 2004, 10:33:53 PM »
Hello

First of all you need to understand networking

your router can point to your iis for the www service if you are running any web server there you just don't want to have your router do any port-forwarding to the sme web server

To access your intranet web server - in home web server on your sme just http://it's-ip-number/ hit enter you should see the not customized page

To run both www servers on the INTERNET you need 2 ip addresses because there are 2 computers using port 80 or you can set one or the other computers to answer to a different port

You need to understand how to setup iis or apache web server

I have experience in both but this is an sme forum not iis or apache

You can get your sme server running and just test away it will not make any difference to your network you just use the computer ip address to connect you can also use it's hostname if you have it setup

http://ip-address
ftp://ip-address

http://hostname
ftp://hostname

You will find out you need to learn alot about linux but it does not take much to run an sme box all of the hard work has been done iis has no mail server ftp server webmail server and is more complex when you need to do advanced tasks

a good iis box with www mail ftp $4000.00
a great sme box with www mail ftp  $ .30 worth of bandwidth

SMEHELP

iis sme
« Reply #2 on: April 14, 2004, 11:36:07 PM »
ok that sounds good. Can you help me change the port that sme is listening to?

RavenIV

iis sme
« Reply #3 on: April 15, 2004, 01:26:12 AM »
search the forum for "http and port" or "apache and port" and you will be helped...

cheers

smehelp

iis sme
« Reply #4 on: April 15, 2004, 04:36:59 AM »
ok thanks I will do that.

gbaird

apache port
« Reply #5 on: April 15, 2004, 04:52:41 AM »
A bit of info on what you are trying to get done

why change the port number on apache ?
btw apache.org has very good docs

the port apache listens to is easy to change
it is in the httpd.conf file on sme you must also check the httpd.conf template that is the best place to make changes
search for the custom template howto

If you are just playing with sme just hack away it is easy to reload about 15 minutes and it's all new again

If you plan to run 2 web servers on the internet you NEED 2 ip addresses or they need to run on different ports ie:

port 80
port 8080

I advise against this if you are new to networking and linux and apache and qmail and proftp

Again if you are just testing sme don't change the port numbers use your router to port-forward to the sme box

I can go on but it may bury you! 2 web servers on the same port is no problem you need 2 ip numbers if you want 2 seperate web servers Several domains you can do it with iis or sme on 1 computer

Offline Boris

  • *
  • 783
  • +0/-0
iis sme
« Reply #6 on: April 15, 2004, 06:19:25 AM »
You CAN serve Internet pages from both servers via same IP and standard port.
Both IIS and Apache can do redirections.
On apache "proxypass" and on IIS serving from another URL are available.
You configuration will look like this:
Port forward on the router to one of the servers (primary server)
This server answers to requests on all the domains and serve some of them from its local folders and others from the other server’s URLs. Second server need to be configured with its own domain(s) only.
...

smehelp

iis sme
« Reply #7 on: April 16, 2004, 07:53:00 PM »
is there any documentation on how to do this???
It sounds like a good idea. I currently have iis running and I got sme running also but of course on the same port one at a time. it seems cool so i really want to get this to work.

Offline Boris

  • *
  • 783
  • +0/-0
iis sme
« Reply #8 on: April 16, 2004, 07:55:36 PM »
There is documentation and help for IIS and there is "proxypass" contrib for SME.
...