Forum Moderators: mack
I am fairly competent with the basics of running a website. We have been reselling hosting plans now for a little while and would really like to move our site here so that it is physically in the office.
We have finally managed to get a great connection through Cox Cable and also have got a great server set up with about 900GB of storage.
I have already downloaded, installed and played around with the PHPdev package locally. Now I need to learn how to take that from our local server and make things so that they are viewable online.
We do have static as well as IP assignments but I am somewhat stuck here on what I need to do.
Any help is more than greatly apprecaited.
Thank you,
Todd
First off getting your production server actualy online is not a dificult task. The difficult part it ensuring it is secure. When running any application localy that is accesable from outside your own network it is always risky, you need to do very aware of the risks involved.
If you have a static IP address going to your network and IP addresses assigned to your different network machines the next step you need to take it to open the required ports on the router to point ported traffic to correct internal locations. If you are opening a web server to internet traffic then you should open port 80 on the router and use port forwarding to point anything on port 80 to a specific lan IP address.
Les assume your internal address is 192.168.x.x for your web server. You need to access your router's admin area and make a routing rule for port 80. Usualy routers are fairly easy to use, but please ensure you knwo what you are doing before you open ports!
Point all traffic on port 80 to 192.168.x.x By doing this all incoming web traffic should be pointed to the location of your web server.
If you have other services you wish to run in-house then you can repeat the procedure for their corosponding port numbers and ip addresses. However you should note that once a port has been assigned you can not have another service on another machine running on the same porn number from the lsame WAN IP address. If for example you want to run 2 physical web servers then you need to have 2 incoming fixed IP addresses. There are work arounds for example you can set your server up to listen on a different port and use port forwarding with a different porn number. This method however is not really advisable.
If any of this does not make sence then I really recoment you re-think self hosting. Hosting in-house is a great learning experience, but when it is used in a mission critical environment it can be a recipie for disaster.
Mack.