Tutorial - How to host your website on your computer

SpaceshipSpaceship
Watch

cancer10

Account Closed (Disallowed)
Impact
6
Hi,

This is a tutorial on how to host your website on your PC.


1) Download CIS WebServer from Here

2) Install it (its very easy to install like other programs).

3) After installation, run the program from Start > Programs > CIS WebServer > CIS WebServer.exe. You will see a screen similar to the following:

screenshot_webserver.jpg


A little description about each of the controls.

* Status = Current status of the server.
* Site Hits = Total hits your site got till now.
* Users Connected = Total unique visitors connected to your site.
* Bytes Sent = Total size of packets sent from your PC.
* Bytes Received = Total size of packets received to your PC.
* Server Uptime = Total time since the server is running.
* Local Address = Is the local server address which can be accessed through LAN. or you can use http://localhost/ instead.
* Your Site Located At = This is the IP address through which your site can be viewed on LAN and Internet.
* Connected IP Address = Visitors IP address who has visited your site with Date and Time.
* Save Auto Log = Automatically save logs of the visitor's IP address.
* Enable IP Listing = Enables IP listing in the listbox. If unchecked does not logs any IP addresses.


4) Click on the Settings button > Set path

5) Clicking on the Set Path shows you another window, where in you can select the Drive > Directory name where you have your index.html file. (index.html file is the main file that shows as your default homepage)

6) Click on Settings > Preferences > HTTP Options.

You can set the Preferences of your web server. You can set your desired Port number. But it is recommended that you set your Port number to 80. You can enable a music file if you want it to play when a user visits your site. Checking on Run on Startup enables your WebServer to run automatically when Windows Starts. You can ban IP address of your visitors. Press Ban IP to show the Ban IP window. Click Save to save the settings.

7) You are done. Open your browser and type http:// followed by your IP address. or you can simply click on the Your Site is Located at link on the web server. You can see your index.html file in this way.
 
1
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
gjvblack said:
...please post any security tips & tutorials...

Leave it to the experts! No - I'm serious. Let someone else take the risk. For a few dollars a month it is not worth it. This is especially true if you use a dynamic site (static HTML sites are much less vulnerable).

Still here? OK - I haven't convinced you. Setup a second PC to host your site. That way if anyone does break into it, they cannot get at your personal files on your main PC. If you use a NAT router, then open the port 80 connection to your second PC only. That way only port 80 is vulnerable. Block outgoing connections (either at the router or use a software firewall on the second PC). This would limit the damage an attacker could do (attackers frequently use a compromised machine for nefarious purposes, which would seriously upset your ISP). Keep any scripts you install up to date. Only use reputable scripts on your site.

Keep regular backups of your site on a second hard disk.

For a start I'd use linux (my choice - you could use windows instead) as the OS, apache 1.3 or 2.0 with mod_security and a good set of rules, PHP5, suhosin (hardening for PHP).

If you want to protect against DDOS (nowhere near as important as protecting your private data IMO), then install APF (software firewall), and DDOS deflate.
 
0
•••
Does anyone know if Comcast allows this?
 
0
•••
Shan said:
Does anyone know if Comcast allows this?

Get on their site and check their TOS / SLA :]
 
0
•••
when i was doing construction work i saw a guy in his townhouse basement have at least 20 servers running im not sure what he was doing but you never know your website might be hosted in someones basement lol
 
0
•••
zachary0611 said:
when i was doing construction work i saw a guy in his townhouse basement have at least 20 servers running im not sure what he was doing but you never know your website might be hosted in someones basement lol
If you're paying less than $9/mo, it's probably in a basement. Haha.
 
0
•••
RickM said:
Also, security is a huge problem when hosting your own sites. Remember, datacenters have thousands of protection methods...many hardware based such as firewalls (not your standard ZoneAlarm stuff....I'm taking $5000+ hardware firewalls).


I wouldn't even think of hosting my own site because of this one reason. :D
 
0
•••
Hosting on our own server means how serious we are in website business. Good info. Thankz.
 
0
•••
mdamin76 said:
Hosting on our own server means how serious we are in website business. Good info. Thankz.
Yuck. That is totally untrue.

I hope you were being sarcastic.
 
0
•••
oh thanks ,let me try it.and report you.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back