Welcome to WebmasterWorld Guest from 18.232.99.123

Forum Moderators: mack

Message Too Old, No Replies

i need help self hosting

     
1:27 am on Mar 4, 2003 (gmt 0)

New User

10+ Year Member

joined:Mar 4, 2003
posts:7
votes: 0


i found a site selfhosting and leaned that i could self host but i need help setup up my computer to self host.i useing win xp.i want to set up my computer to self host my web pages that im working on.if any 1 can please help me thank you
6:14 pm on Mar 9, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Apr 4, 2002
posts:236
votes: 0


Steve_W,

I used to do it the same way, build it, upload it, test it, fix it, upload it, test it etc....

This is a big pain in the butt, not to mention that you are using up your bandwidth limits. (yes FTP counts against your limits)

I have since setup Apache [apache.org] on my machine as a localhost and added PHP [php.net]as well.

Now I don't upload anything until I know it is working correcly, upload it, final test it and done!

dhdweb

3:09 am on Mar 10, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 12, 2002
posts:885
votes: 0


You deffinitely *can* do server side stuff without a local server environment, but it's much faster with one. The difference between a save-upload-test-fix-repeat cycle and a save-test-fix-repeat cycle adds up over a bunch of iterations. I wouldn't develop any other way.
5:27 pm on Mar 12, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Dec 22, 2002
posts:334
votes: 0


If you *really* want to learn to mess around with setting up a server, there's no way around installing a server (or two) on your own computer. That way you *really* have the complete control over the system that you need to really mess things up and can install anything you want to experiment and play with.

Most ISPs wont allow you to install anything beyond what they deem safe. This is particularly the case for things that have to go into the cgi-bin. MySQL and PHP are usually the limit, and you are usually *not* allowed to modify http.conf and .htaccess files.

Also, you might want to configure PHP differently than what's available on your ISP and compile and install PHP all by yourself.

Now, if you don't want your apache server to be seen by any other computer than the one you are running it on (localhost or 127.0.0.1) modify http.conf at around line 405 to read :

Order deny,allow
Deny from all
Allow from 127.0.0.1

this will make sure that only you yourself on your own computer will be able to access the website - everybody else will just get a 401 - access denied :-)

This 18 message thread spans 2 pages: 18