Hosting my site in my computer

Discussion in 'Site & Server Administration' started by oneto018, Apr 18, 2010.

  1. #1
    I have installed apache , php and mysql in my fedora machine. My computer is not connected to internet directly! Its connected through LAN to a computer with internet connection. Is it possible in anyway to host a small website from my computer? I don't have a seperate IP for my computer. So I don't know what to do for domain. Thanks in advance
     
    oneto018, Apr 18, 2010 IP
  2. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #2
    its not easy to create a site without static ip address

    some websites offer this by using a software on your pc

    it is not recommended

    Regards

    Alex
     
    kmap, Apr 18, 2010 IP
  3. oneto018

    oneto018 Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Anyway I wanna try that. Please tell me how to do that. And why its not recommended to do like that?
     
    oneto018, Apr 18, 2010 IP
  4. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #4
    due to following reasons

    1. when you are hosting a website you need a dedicated pc,means you cannot use cpu for other works
    2. power failure ,pc at home more prune
    3. security issues ,virus problems
    4. operating system normally windows
    5. dedicated fast internet line which is not available at home atleast 2 mbps
    6. network down due to bad isp
    7. home pc not able to handle much traffic

    Regards

    Alex
     
    kmap, Apr 18, 2010 IP
  5. Adraco

    Adraco Active Member

    Messages:
    479
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Get a cheap hosting account, it cost 2-5 USD per month, and that will save you a lot of hassles, troubles and security concerns. It will me so much easier, safer, better access for your visitors and will of course increas uptime. Also, you will still have your own internet connection for yourself, not having to share it with someone who's watching your site.
     
    Adraco, Apr 18, 2010 IP
  6. oneto018

    oneto018 Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    I just want to give it a try! I want to learn the basics of hosting my site myself. Is there anyway?
     
    oneto018, Apr 18, 2010 IP
  7. nikb

    nikb Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    For small site this is possible. Also with one external dynamic ip and lot of computers inside.
    First you must make a port forwarding rule in your router or firewall. From outside to inside. For example 25.25.25.25(your external ip). You must forward ports 80 and 443 from outside to your local ip (for example 192.168.10.10) Check if that works here ping.eu/port-chk/

    Create a DynDNS account and register a subdomain whatever.dyndns.com. Follow instructions from here http://www.dyndns.com/support/

    Than you can register a real domain and create a DNS CNAME record that points to whatever.dyndns.org

    Peoples who watching you site will use up speed of your connection, when you watching some site your down speed will be used.

    That will be a good experience, but you must know what are you doing. I' m also agree with arguments of kmap.
     
    nikb, Apr 18, 2010 IP
  8. oneto018

    oneto018 Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #8
    Thank you nikb! But configuring portforwarding is confusing. And further the routers are not in my control. How to do this? If anyone can explain?
     
    oneto018, Apr 18, 2010 IP
  9. nikb

    nikb Peon

    Messages:
    93
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You must have one or another box received from your isp. For example modem combined with router or firewall. There are lot of types and brands. What do you have?
     
    nikb, Apr 18, 2010 IP
  10. oneto018

    oneto018 Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #10
    I just have a wifi connection in my place
     
    oneto018, Apr 18, 2010 IP
  11. vagrant

    vagrant Peon

    Messages:
    2,284
    Likes Received:
    181
    Best Answers:
    0
    Trophy Points:
    0
    #11
    not easy on a wifi if possible at all.
    have a read of http://www.boutell.com/newfaq/creating/hostmyown.html
    it may help a bit... first helpful article i found in google that went into detail.
    and see if you can manage to do all that article says first.

    or http://www.dslwebserver.com/
    http://www.diywebserver.com/
    http://www.redhat.com/magazine/022aug06/features/webserver/


    To be honest, reasonable shared hosting is MUCH cheaper than the cost of the electric charges for leaving your computer on all the time, and no worries about all the php, mysql etc updates... also expect your hard drive life to drop drastically :(
     
    Last edited: Apr 18, 2010
    vagrant, Apr 18, 2010 IP
  12. kishor212

    kishor212 Guest

    Messages:
    124
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    BAd ISP and Disconnection inbetween will trouble you a lot.. once your net gets disconnected and reboots with a new IP.. you will have to configure it all again...!
     
    kishor212, Apr 18, 2010 IP
  13. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I guess you can be hassle free just find free web hosting which is more reliable and you will solve your problem..(just if you do not want to spend money)
     
    casius, Apr 19, 2010 IP
  14. burfieldstuff

    burfieldstuff Peon

    Messages:
    96
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    burfieldstuff, Apr 19, 2010 IP
  15. nolag

    nolag Member

    Messages:
    201
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #15
    Where do you live? Some ISPs will not allow you to (they can terminate your connection), se be careful. It you want to host it with a dynamic IP I would use http://freedns.afraid.org/, but with hosting as cheap as $2.5/month why bother using your bandwidth and leaving your computer on all the time?
     
    nolag, Apr 19, 2010 IP
  16. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #16
    You don't need to connect your server to the internet to do this. If all you want to do is practice setting up a server and running sites, do it all on your local network. When we're setting up new configurations or servers we do it all on our internal network. We have a small 30U rack in our office with a number of servers, routers, and switches, and we do all our test set-ups, testing of new configurations, and software tests on this network first. New hardware is connected to this rack for set-up too. I'm not saying you need anything so complicated, but you certainly don't need to connect your server to the internet to practice set-ups and configs and then connect to them from another PC to see if it all works.
     
    RonBrown, Apr 20, 2010 IP