Results 1 to 1 of 1

Thread: "Dedicated" servers at home

  1. #1
    qjqqyy is offline Junior Member
    Join Date
    Jul 2009
    Posts
    4

    Default "Dedicated" servers at home

    Disclaimer: i typed all this myself, none of this is copied from other sites, this is based on my own experience.
    THIS IS IMPORTANT!!! THIS TUTORIAL IS FOR PEOPLE WHO ARE USING A DEVELOPER MACHINE (workstation). THOSE WHO USE A BIG SERVER LIKE DELL POWEREDGE, THIS IS USELESS.

    You can set up a dedicated server at home. you need:

    • Computer (on 24/7)
    • Internet Connection (24/7)

    The minus is that you need to switch them on 24/7 and that you need to fix technical errors yourself. (Google provides a lot of solutions)
    Plus:

    • Never be frustrated at downtime, you decide whether you want the server to be down.
    • No up load time, just transfer files to the web destination folder.
    • lots more!

    Step 1
    install apache
    url is
    http://httpd.apache.org/download.cgi
    choose this one (setting up SSL is damn hard, if you don't want to use https:// , download this one.
    Win32 Binary without crypto (no mod_ssl) (MSI Installer)

    Step 2
    obvious!
    INSTALL APACHE.
    run that .msi file
    done!

    Step 3 (getting harder)
    edit the httpd.conf file
    go here
    C:\Program Files\Apache Software Foundation\Apache2.2\conf
    open the httpd.conf
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!IMPORTANT:: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!
    !!!!!!WINDOWS VISTA USERS CANNOT SAVE THE !!!!!!!!!!!!
    !!!!!!FILE DIRECTLY, SAVE A COPY AT DESKTOP, !!!!!!!!!!!!!
    !!!!!!MAKE CHANGES THEN REPLACE THAT ONE !!!!!!!!!!!!!!!!
    !!!!!!AT C:\Program Files\....... \conf !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Find line
    Code:
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    
    put a # before that line (comment it)
    add new line after it
    Code:
    DocumentRoot "C:/(your directory here)"
    
    NOTE: all backslashes in the directory must be changed to forward slashes.
    that is the root of the files in the server

    a few lines after, you see
    Code:
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">
    
    comment that line (add a # before it)
    change it to
    Code:
    <Directory "(your DocumentRoot)">
    
    NOTE:still, all backslashes in the directory must be changed to forward slashes.
    that is the root of the files in the server

    a few lines later, you see

    Code:
    AllowOverride None
    
    comment it
    add line
    Code:
    AllowOverride All
    
    That's mainly it!
    open firefox (i hate IE)
    type http://localhost
    you will see a page like this

    It works!

    now, go to your document root and add files, for other people to access your site, go to a IP checker to check your external IP address, type that in the browser address bar and you will go to your site
    you can install php and mysql if you want, their documentation is simple enough.
    Last edited by qjqqyy; 07-17-2009 at 04:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •