Results 1 to 5 of 5

Thread: Host you're own site with php and mysql in 2 minutes!

  1. #1
    Join Date
    Nov 2004
    Location
    india
    Posts
    18

    Default Host you're own site with php and mysql in 2 minutes!

    Run you're own server for testing phpmysql or just to host you're own website or for you're friends.

    -needS: a PC that's all icon_cool.gif

    - How to ?

    download :
    http://server.paehl.de/apache20.zip : 30 seconds

    Installing:---> 1 minuut
    ***********************************
    Unpack the exe where ever you want.

    after unpack run serverinst.exe and change
    Servername and your e-mail.

    Start the following files one time:

    start_apache.cmd --> start apache as service
    mysql_start_as_service.cmd --> dito for mysql
    mysql_first_start.cmd --> start mysql now


    If you have a question visit my forum:

    http://www.paehl.de/php/forum

    Open your browsert and insert: http://127.0.0.1
    Now you must see the start site.

    call phpmyadmin http://127.0.0.1/phpmyadmin/ and change the password for the root
    and change the rights for the other user
    ************************************************** ****
    testing:
    call: http://127.0.0.1--> local from you're computer
    you can also call :http://localhost (this is the same as http://127.0.0.1)

    to enter you're site remotely you need to know you're IP:
    get this on : http://www.whatismyip.com/

    when you're enter this ip in the browser you can acces youre site from arond the world.

    So we need a free domein ofcource :
    go to dot.tk to get one and refere to you're IP.

    ****************************************
    you'll find a map named public_html
    imagine you have 10 sites to host so you'll have to make 10 maps insite the map public_html.

    let's say we name the maps 1,2,3,4,....
    (you can name them whatever you like)

    and lets say our IP is : 1111.2222.3333.4444
    (get this on : http://www.whatismyip.com/)

    so imagine we want to call remotely site number 8 for example:
    http://1111.2222.3333.4444/8/
    (http://1111.2222.3333.4444/Website_M...e_public_html/)

    you can not use FTP to remotly acces you're host(public_html map)
    to enable this we have to download a FTP server:
    Here's a list of free ones:
    http://www.freedownloadscenter.com/N..._Server_Tools/
    set for you're ftp server public_html map as root .

    and you're done
    Cangratulations, With you're hosting company

    icon_cool.gif

    Important note for the newbies you're computer has to turned on otherwise you cant acces the server remotely.
    and if you use a router you'll need more experience to call the server remotely(from the internet), but it is still posible to use it as a testing server(localy, http://localhost ( remember))
    the benifit in a case of a router is that you can use the server as a intranet site
    to know you're ip with a router open dosprompt(cmd in xp)
    and type : ipconfig


    my english is not that good but i think you can live with that.

    To stop the server:
    apache_stop.cmd -> Stop apache
    apache_remove_service.cmd --> remove the service from apache
    mysql_shutdown.cmd --> dito for mysql

  2. #2
    Join Date
    Sep 2004
    Location
    Maryland, USA
    Posts
    332

    Default

    though the idea makes sense, and in theory, takes care of any server conflicts and gives you absolute control, there are things you must consider.

    1. System Uptime

    By keeping a server running, you are asking for some pretty harsh requirements from your computer. Having multiple user instances accessing your computer is asking a lot out of your hard drive, processing power, and even more so from you memory (RAM).

    2. Stress on your internet connection

    Your ISP only allocates so much bandwidth to your individual connection. When you split your connection with a router, you may gain internet access for more than one computer, but you effectively decrease the collective amount of bandwith available to you. This holds true for uploads as well. By having a server, you in some cases exponentially increase the workload on your connection, severely decreasing transfer speed, perhaps even crippling it.

    3. Connection speed

    The Upload rate (wherein a user downloads information from the server) is EXTREMELY important, and your type of connection directly correlates to how fast your upload/download rate is. If you have Dial-Up, you can't put a server up. it's just too slow and you won't be able to keep it up for extended periods of time. with Any form of DSL, I Highly suggest you do not try to put up a server. Infact, I don't really recommend putting a server on a broadband connection, though it is much more possible and less taxing on this type of connection. LAN based connections like T1's (or if you have access to a backbone, then that's even better) is ideal for servers.

    4. ISP regulations and connection configuration

    Some ISP's do not allow home based servers, or allow them under the precursor that they know about it and you have a valid reason. (which in that is decided by the ISP) Most ISP's have a way of watching and regulating your connection, making sure you are not asking too much from your connection. ISP's can and will disable certian features of your service (I had a friend that had his SMTP protocols disabled because of an insane amount of data transfer through email) By having your own connection, you may hit with problems with your ISP. Before doing anything like hosting a server, check with your ISP first to make sure you have the proper permissions and/or allowed to host a server...



    If you want to make a server, keep in mind these things, it could make the difference.

  3. #3
    Join Date
    Nov 2004
    Location
    Australia
    Posts
    93

    Default

    Quote Originally Posted by madboyv1

    4. ISP regulations and connection configuration

    Some ISP's do not allow home based servers, or allow them under the precursor that they know about it and you have a valid reason. (which in that is decided by the ISP) Most ISP's have a way of watching and regulating your connection, making sure you are not asking too much from your connection. ISP's can and will disable certian features of your service (I had a friend that had his SMTP protocols disabled because of an insane amount of data transfer through email) By having your own connection, you may hit with problems with your ISP. Before doing anything like hosting a server, check with your ISP first to make sure you have the proper permissions and/or allowed to host a server...
    If you want to make a server, keep in mind these things, it could make the difference.
    Indeed, people caught running servers risk losing their account with my ISP and you are never allowed to return, So be careful and read the legal agreement for your host before you try anything. You could end up in big trouble.

  4. #4
    Join Date
    Dec 2004
    Posts
    117

    Default

    I could run a server I doubt earthlink would care a bit about it, but i dont feel like making my pc run slow and everyday because of my site. no point in going through all that if I dont have a business or such.

  5. #5
    Join Date
    Jan 2005
    Posts
    117

    Default

    Quote Originally Posted by madboyv1
    though the idea makes sense, and in theory, takes care of any server conflicts and gives you absolute control, there are things you must consider.

    1. System Uptime

    By keeping a server running, you are asking for some pretty harsh requirements from your computer. Having multiple user instances accessing your computer is asking a lot out of your hard drive, processing power, and even more so from you memory (RAM).

    2. Stress on your internet connection

    Your ISP only allocates so much bandwidth to your individual connection. When you split your connection with a router, you may gain internet access for more than one computer, but you effectively decrease the collective amount of bandwith available to you. This holds true for uploads as well. By having a server, you in some cases exponentially increase the workload on your connection, severely decreasing transfer speed, perhaps even crippling it.

    3. Connection speed

    The Upload rate (wherein a user downloads information from the server) is EXTREMELY important, and your type of connection directly correlates to how fast your upload/download rate is. If you have Dial-Up, you can't put a server up. it's just too slow and you won't be able to keep it up for extended periods of time. with Any form of DSL, I Highly suggest you do not try to put up a server. Infact, I don't really recommend putting a server on a broadband connection, though it is much more possible and less taxing on this type of connection. LAN based connections like T1's (or if you have access to a backbone, then that's even better) is ideal for servers.

    4. ISP regulations and connection configuration

    Some ISP's do not allow home based servers, or allow them under the precursor that they know about it and you have a valid reason. (which in that is decided by the ISP) Most ISP's have a way of watching and regulating your connection, making sure you are not asking too much from your connection. ISP's can and will disable certian features of your service (I had a friend that had his SMTP protocols disabled because of an insane amount of data transfer through email) By having your own connection, you may hit with problems with your ISP. Before doing anything like hosting a server, check with your ISP first to make sure you have the proper permissions and/or allowed to host a server...



    If you want to make a server, keep in mind these things, it could make the difference.
    You're right. just host it with http://netfreehost.com

Bookmarks

Posting Permissions

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