Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I host my own web site?

I have a Server type computer, I was wondering what you
recommend I use as an OS and how to use it to host my own websites and/or use
it as an FTP site.

You’ve got a machine on the internet. Why not let people connect to a site you host on your
own machine?

It’s certainly possible. The question is – is it the right way to do it?

Become a Patron of Ask Leo! and go ad-free!

I’m assuming you’re setting up this server at home or at a small business that’s
connected to the internet by some kind of broadband (Cable or DSL)
connection.

Actually, what OS you use is less important than how you’re connected to the
internet. Some ISPs don’t allow servers on the connections they provide. Others
charge a bit more for the ability to do so. If you’re using broadband (DSL or
Cable), remember that while it might be fast enough for you, it’s shared between
you and everyone who might be connecting to your server. It can get clogged and
slow very quickly.

Your machine will need to be on 24 hours a day, and you’re most likely going
to need a static IP address – dynamic (or changing) is the more common default.
You’ll also probably want to grab a domain name (like “example.com”) so people
can find you.

Once you’ve got the physical connection, I’d run Windows 2000 Server or
Windows 2003 Server, both of which come with the software to host a web or ftp
site: IIS (Internet Information Services). Another alternative would be a Linux
distribution; most come with ftp software as well as the Apache web
server.

I’ll warn you that you’re in for an education. Hosting a server is not a
trivial task and not for the faint of heart. My recommendation for most folks
is rather than hosting their own, spend a few dollars a month and go to a
shared hosting company where you can get some space on a server that’s
maintained by someone else. In fact, your ISP probably already has some set
aside for you.

Subscribe to Confident Computing! Tech problem solving & safety tips with a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my FREE special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

No strings. No email. Here's the direct download. (Just right-click and "Save As...".)

43 comments on “How do I host my own web site?”

  1. You’ll need to contact your ISP about the static IP address.

    Domain names can be purchased at registrars including simpleurl.com, godaddy.com, and many many others.

    256/128 is probably not good enough, but it really depends on what kind of traffic you expect. If no one visits, it’ll be fine. If you get hundreds of visitors a day, or if you’re hosting lots of pictures music files and the like, it most definitely won’t be.

    Reply
  2. I have everything ready and installed and activated on my server, as well as an owner of a domain name. Where should I go from here to get my website online with my server as the host?

    Reply
  3. can you recommend a good connection? Do I need a T1 for my small business? I’ve been researching for hours and I don’t seem to be finding the answers I want. I want my own server – http, email (smtp/pop3), and a MySQL database. What ISP should I get?

    Reply
  4. I can’t really answer that, because there are too many variables. for a small, low-traffic site, hosting on a DSL or cable connection can work. A T1 might be required, or it might not be nearly enough. This website, for example, started out on a server in my closet on my residential DSL. As traffic and my sites have grown, I found that I needed much more bandwidth, so moved to a hosting company. Options there include shared hosting (you share a server with others) or dedicated (you have the entire box.) It also depends on your own level of technical proficiency is. Some hosts offer very little support, but have a great price, others offer much more support and hand-holding and cost appropriately more. My recommendation would be to call up a couple of ISPs and Web hosting companies and discuss their offerings with you. Make sure it’s clear exactly how much you’ll be expected to do yourself.

    Reply
  5. To answer your question Adam. You need to link your website name with your server. so it can accept requests. If you have a dynamic ip(you have to specifically buy a static ip from your isp) then you will have to use a program to link your domain name to your ip. I used zoneedit.com It works like a charm. You have to setup your server so that it knows what to display when that url is requested. There should be tutorials on manufacturers website. I used apache and there is alot of help for that.

    Reply
  6. I understand.
    I think, for now at least, I can host on my cable connection here at home. My problem is, though, that my ISP, Adelphia, blocks some incomming connections, including 80 and 21 for sure, and possibly SMTP and POP3.
    I have contacted BellSouth about their DSL service (as well as other small business packages) and will deal with current web hosting company untill I figure out how much they charge.
    thanks for your help!
    -mpoer

    Reply
  7. To host a website, your going to need a:

    -Server
    -Fast Internet Connection
    -Router (obviously if you have a network)
    -I’d recommend hardwired connection
    -Server software (IIS, Apache, mySQL, php, active perl, ect)
    -OS

    For the server, it depends on what you plan to host. If it’s going to be just static webpages, then you don’t need a very powerful server, or extremely fast connection. Standard DSL/Broadband will work. Also remember, that even if you have a server with 2 Processors, 2GB of RAM, it will still only get the information to your users at the speed of theirs, and your connection.

    Setting up the software:
    You’d point your domain name to your IP address (can be found at: http://www.whatismyip.com), then configure your router to point to your Internet server IP (it’s IP address on the LAN), afterwards, you’ll configure your server software to accept connections on the port that your router forwards the data too. I’d recommend firewalling all ports EXCEPT the one you’ll be hosting on.

    http://www.yourdomain.com will point to your IP (it’ll actually be saying: http://255.255.255.255 (your IP))

    Sends to your router, your router says, send to (internal LAN IP) 192.168.X.X.

    That server’s software says, this request is coming in, so I’ll send back page.html.

    Reply
  8. Hello.
    I ahd built a web page, but I didn’t know how to connet to my server. I had changed two server,every time I follow the instruction that server company offered to me, but every time I failed to open my site on my server. Do i need to do something on my computer such as built some network?
    Thanks
    Julie

    Reply
  9. I have registered a domain name in godaddy.com. How can I point the domain name to my internet ip. I have a static ip from my isp.

    Kenchoi

    Reply
  10. Ok, about this wholewebsite making deal, I’ve found the perfect answer. Go here.

    http://www.download.com/Unlimited-Web-Space/3000-2125_4-10352311.html?tag=lst-0-1

    In there, u can download an eBook for free witch explains everything on how to host your website from your own house. And I know it works becuase i did it myself, in just a couple of minutes. Is easy to understand. I’m only 16, so yeah, is easy.
    I have a 4mb Cable connection at home, and i try streaming music from skool, and it works perfect.Because my internet connection is so fast, the songs get downloded faster than i plays, get me?
    And yeah, I also have Adelphia, and I know they block port 80. But in that eBook it explains how to redirect it to port 8000, so the website works.
    And the best part about it, is that is all free. You don’t need to have an static IP adress either, it also explains how you can solve that problem, so every time your IP changes, the program redirects you to the new IP.
    So this is the perfect solution.
    Ok, I hope that helped.

    Att: Francisco

    Reply
  11. I have an old computer that I would like to host my own web site. It would be a limited access…family and close friends. Can you help me get started? Thanks.

    Reply
  12. ok, I have Dedicated IP with 6.0 connection, I have an older Athlon 800Mhz with 256meg ram with Win 2000 Server loaded on a 20Gig HD. The manual is vague on how to configure 2000 Server to host and I got 3 books about how to and they are filled with to much crap I cant understand them.

    Anyone know step by step to set up my server for hosting a standard static web site? I have built web sites for years, networked 3 computers and a laptop, even know how to use Flash. I feel retarded on this one though.

    Reply
  13. Okay. I have a website set-up. I am in negotiation with BT to unblock port 80 so that I can host it from home. As someone above said, It will only be for a small amount of people initally, when it becomes bigger I will use a hosting service like ‘1and1’, which is what I would recommend for anyone really. I just need to do some tests and demos. The thing I want to know is, are there any tips on getting Apache server working correctly and with MySQL which I will be running behind the scenes. Tips on good places to go to get inf. on setting up this sort of thing would be good here aswell.
    Kharlos – If you have a web-designer writing your site then that person will upload it to a webspace somewhere. This is normally a free space provided by your ISP for small personal site and blogs, but would be with some hosting service/company if you expect to get a lot of traffic (hits) on your site. hosting companies like 1and1 (go to 1and1.co.uk) can provide other things like e-Mail addresses and managment tools, MySQL databses, domain name(s), anti spamming and virus tools and a large amount of traffic per month. remember that most ISP’s have a useage limit on personal connections. This might be reached quite quickly if you host from home. Using a hosting company would solve that.
    In Britian one can be self-employed without doing anything really, apart from telling the taxman and then doing your tax returns. running a website to support your business and/or to increase sales is just another part of your ‘self-employed’ business. You only need to register a business if you form a limited company and registering a business with a local business bureau, while not necessary is a way of making contacts and increasing revenue. I would join the local ‘Business Enterprise Agency’ or ‘Business Advice Centre’. They have a lot of business people whom you can meet personally and get very useful advice from.
    As for the question of copyright compliance, just make sure that pictures on your site are yours or free to use. There is quite often a free licence to use photos as long as it is not in relation to a business, so check that part. A business name can be anything as long as you are not registered (limited). It is a different ball-park then! Don’t plagerise any other site for code to build yours and make sure that your web-designer does not do this. Ask him/her specifically. Otherwise. good luck.

    Reply
  14. Hello sir i have recently taken a static ip for my small org.and i set the static ip to my system,now internet is working fine,and it pinging from outside my system.but when i type url like http://staticip it not opening any page and it is in hanging.so i dont know what to do bcoz im very new this static ip.my os is windows xp/2000 server.Please help me in this regard.

    Reply
  15. I have a question, is there any difference between hosting traditional websites (for desk-top pc’s) & hosting mobile device ready .MOBI websites?
    I just wondered if the costs should be lower as the data requirement for a .mobi site is usually a lot less than for a ‘big screen’ site.

    Thanks in advance.

    Gary

    Reply
  16. HI, My name is Charles Outwit, I was impressed with the search i made through, and at the end of my search, i meet ask-leo.com, What brought my intension and presence here, i was having difficulties with my Host, sincerely, my host is okay, good and perfectly working, my ftp status is also in good status, but i find it difficult to upload mysite. Please i will Really appreciate you, if you can solve this problem behind me and enlighten me more on how to upload a site on my server and Ftp. It’s urgent.

    Regards

    Charles Outwit

    Reply
  17. hi sir i want to upload my webpage i does’t have seperate domain for that but tell me some websites for free domain for that and how to upload my webpage or webpage in that.
    thank u in advance

    Reply
  18. please i have my web site, i have design it only to host it and am looking for cheap and afordable web hosters,
    thanks stsvs

    Reply
  19. hey man!,
    i’VE jst published a webpage through windows publisher.
    i have a free domain from co.cc
    but how do i link my published document to my URL??

    Reply
  20. First I would like to say if you going to host your server, I wouldnt go with any form of windows server, rather learn something new and go with a linux server,and learn some command line, if you really need to have a GUI to do everything then use something like Ubuntu Server. In my opinion Id rather pay a hosting service to host my websites than run my own server, I recommend hostmonster.com

    Reply
  21. We have a server in my compny which denied all the request to open the site Request denied by the server and shows this message in the bracket (WatchGuard HTTP proxy.
    Reason: one or more categories denied helper=’WebBlocker.1′ details=’News’

    ——————————————————————————–
    Method: GET
    Host: timesofindia.indiatimes.com
    Path: /)
    .How can we browse the site without being identified by the server security.

    Reply
  22. What a way not to answer the question posed.
    Instead of giving valid info for how to go about this, you state it is really hard to do and all the potential hardships. I hate this kind of thing … I find it in a search engine and the very opposite of what you are looking for information about is given.

    ultra lame.

    You need a Domain Name. Buy one from a reputable company … and as a precaution, make sure that company has a nameserver that can point to your ip address.

    dyndns.com is a good option. do not buy from google, although reputable, in this one area it is a pain in the neck to get things transferred.

    it is easier to use an all in one web hosting solution, but there are a ton of reasons that make hosting your own server worth while. THAT EDUCATION is one of those reasons.

    Ubuntu makes a server and is free… linux is a good solid option in general, unless you are doing something with ASP… then you need to spend the cash on a Windows solution.

    Reply
  23. I static ip and I have tried to follow your instruction but still not able to configure it as a live server..

    Have configured lan IP , configured router too…
    Please help me to configure live server

    [link removed]

    Reply
  24. I have domain registered and having good internet connection, with windows2003 server and wanted to host my domain. Can you tell me step by step procedure to host my own site?

    Reply
  25. Posted by: steve at July 10, 2008 8:46 AM

    hey man!,
    i’VE jst published a webpage through windows publisher.
    i have a free domain from co.cc
    but how do i link my published document to my URL??
    wanted to ask you for that co.cc address need to tuch base with them.. thanks..

    also will this go good with hosting from xampp?

    Reply
  26. can you please tell us more about speed, if i have adsl connection, Is it going to be too slow if i host it from my place, i mean upload becase it is adsl, i am not quite sure about it, thank you.

    regards,
    mick
    __________
    web design sydney

    Probably. The “A” in ADSL stands for asymmetric, meaning that the upload speed is slower than the download speed. When you host a server in your home when someone out on the internet accesses it you are in essence “uploading” from your home to them the pages that they want to view. Unless you have an extremely fast internet connection I would guess this will be too slow. Check with your ISP. They may also have restrictions on hosting servers out of your home as well.

    Leo
    25-Jul-2010

    Reply
  27. I have booked a wordpress domain. Can i host it on differerent server than of wordpress is it possible to do so???

    Reply
  28. hi,

    i created few webpages, which is using by 1000 users/day , i want to host in internet for wide area …can let me know procedure for that ……………..shiva

    Reply
  29. I have gone through the above article. It is good. Please let me know whether any mapping is required for the doman name to the static IP Machine i.e., the server where the web site is to be hosted and how and where to configure it whether in IIS or elsewhere?
    Regards,
    BDN RAO.

    Reply
  30. i want to host my website, but i thought that only with an static ip i was able to do that. dynamic ip its ok too? how my server will respond to a dynamic a ip? if it keeps changing all the time?

    thanks ind advance….

    Reply
  31. @José
    It’s generally best to have a static IP address, but a dynamic IP is possible with a dynamic DNS service which updates the DNS with your new IP number when it changes. This might work with a small experimental website, but probably won’t handle any serious web traffic. Don’t forget, with most ISPs upload speeds are only about 1/3 to 1/4 as fast as download speeds and your web server would be uploading most of the time.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.