Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hosting on your own PC?

Status
Not open for further replies.

martinb7

Programmer
Jan 5, 2003
235
GB
Hi,

I was wondering, how can you host your website on your computer at home so others can access it?
I noticed that Bill Watson has done somthing similar and was wondering how you do it. I have windows XP Pro.

If you dont no, are there any websites that tell you?

Thanx

Martin
 
yip..its very easy

best package comes from



i took phpdev423 for my windows 98 machine....php, mysql, and apache self installed...10 mins i think and all was done. free download and less than 15MB as I recall.

i only wanted it initially to run php scripts without the need to be constantly FTP'ing files to a server to test them but soon found many more uses for it.

i wouldnt use it to host sites unless like mine they are low traffic and you have a good internet connection (cable min.)

anyway have fun with it and let me know if you have any problems. i found that any problems i had were already answered in the firepages forum.
 
once you have downloaded it, how can people access the site on your computer?

I am using a redirection url - do you need to point that to my IP address for them to access it? if not, can you tell me where i have to point it to.

Also will you be able to run coldfusion, asp and asp.net scripts on the computer? will they work? will database queries work?
 
database queries work fine with php/mysql

once installed you will find you have a public folder. anything you put in here can be accessed by anyone with the url. security is in place to prevent access to any other folders.

what i did was get my ip address 456.678.whatever it was and then went to a company called no-ip.com all i did there was choose a name and with total lack of imagination took billwatson entered my ip address and my urls then all start


as oppossed to

those links wont work...just for demo puposes

this is an important step to take as your internet provider can change your ip address at any time (although mine hasnt changed in the 6 months ive had this on my home pc) and you would never know. no ip constanly checks for your ip address and updates the link accordinly.

that also is a free service.....


i dont know about running asp as well...i suspect that will be a no no as asp is not open source but i could be wrong.
that might be a question for the firepage forum. it may already have been asked and answered.
 
really dont know..never looked into that as my sites on my pc are my own and not for a client....but i would imagine so

why does lead to my public folder not sure i like that
 
sorry. i forgot the IP address. It works fine now:)
 
I need help. Ive taken the phpdev off my computer by deleting it, and when I try and run a .php page, it says in a error window

"Unknown(): Unable to load dynamic library 'C:/phpdev/php/extensions\php_dbase.dll' - The specified module could not be found.

How do i get rid off this? so i can use .php pages again?

If i have a php.ini file in my C:\PHP folder, the message doesn't come up, but the page will not load - Cannot find server. Could you tel me what to put in my php.ini file?

Thanx

Martin
 
you cant as far as I know

phpdev is a bundle.....you may have managed to keep php in its entirety (unlikely)....but you must have lost apache.

all you can do is try to upload your php pages to a server and see if they work there as you have deleted your server.
 
Yes i no, but before i downloaded phpdev, it was working fine on IIS 5, and i would like to restore it to the way it was before. how can i do this?
 
I have no idea never having used IIS.

Nothing in your manual?

Or you might want to try the firepages forum.
 
I figuered out how to do it. I just re-installed PHP on my computer and it works fine!!

Thanx 4 the help
 
Can Anyone help me how to host my site on my pc please help me from the skretch ........bcoz few of my friend host other people website on their personal pc but they provide " .com e.g " how this can possible if this possible please help me .Thnx
 
You need to register a domain name ( then use a DNS service (from a friend that has real hosting services or from a free DNS service), (look at dabot.com). Then you need to reconfig that DNS server each time your IP changes on your computer.

IIS is a snap to configure in Win2000, maybe you should give it a try.... as soon as it's installed, your site ais active and you can edit it/replace it in c:\inetpub\ You can easily do MSaccess database linking with it.

Luc

MontrealSoft.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top