Join 307,109 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,026 people online right now. Registration is fast and FREE... Join Now!
First i m sorry. May be this topic is not for this board....
Now, I want my pc performed as a server. As like when i run xampp in my pc then i can browse site under htdoc folder of my PC. Now i want to View from anywhere i mean through internet when my pc is One and connected with Net line. And also want to create a FTP server also. So that someone can download from my pc.
People can access your web site at http://your_external_ip_address If you don't know what is your IP address, you can look at http://cmyip.com And if your PC is under router, you need to config port forwarding (look at router user manual).
you need a domain on net (Space in The Server) that supports PHP+MySQL you can buy it, if you want a free then google there are many site that is free it is good testing such as http://www.100webspace.com/. after creating a domain you need FTP Software such FileZila, FlashFTP, CuteFTP etc... for uploading your website on the net
This post has been edited by noorahmad: 4 Jun, 2009 - 02:55 AM
yes if you buy a domain then you will access your page as www.domainname.com if you want to use free then it will be something like this yourname.freedoamin.com # such as hadi_php.100webspace.net
Domain is not necessary, you just can use your IP address as I mentioned before. Other people can't access using http://localhost. Domain is for comfort, because it is much more comfortable to use for example google.com instead of 74.125.67.100.
And this PC is... where? That is to say, how does it connect to the internet? Chances are, your local IP address is not what the outside sees. ( If it is, you're too exposed. )
Most people connect to the internet via some kind of broadband device. If you plug your computer directly into that device, it will probably still do a routing trick and make your local address something like 192.168.0.2, while the rest of the world sees something different. If you connect a gateway router to the thing, you've added NATting.
First, figure out who the internet things your are. e.g. http://showip.net/
Now, if you're just plugged in and exposed to the world, navigating to that address should do it. However, that's rarely enough.
I suspect http://www.dyndns.com/ might have more info on exposing your home computer to the internet.
If you are behind some kind of gateway router, you'll have to put you computer in the DMZ.
Try playing with this info and google and see have far you get. Good luck.
First off you will need to check you have a static IP if you want to do what Gediminas said, unless you use something like dyndns which can give you a domain name to connect to your dynamic ip... If you do have a static ip you will need to configure your router to forward anything that comes in on port 80 to your local ip address... the computer running xampp or/and port 21 for ftp access!
Are you using something like Serv-U for the FTP server?
Suppose - i am a internet user connected with broadband provider.... i havent any static ip.... Now if i share my pc then any one can access anyone under this network....
So they get much more speed when they copy something from my pc, coz we get only 10-20KBps speed for download via internet.
Now if i share a movie then anyone under this network can copy hole movie 1.GB within 20 min itz not possible to download that movie within 20min from internet.
Thats why i need to create a website where i will give the download link from my pc and user under the same HUB/switch/network can download them in a short time....
Is that possible?
Or is that possible a password protected FTP server of my pc. I mean may be their is a software for do that i dont know.....what the software is...
This post has been edited by hadi_php: 4 Jun, 2009 - 08:25 AM
First, I would suggest that you check the T.O.S. with your isp to make sure that they allow port 80 traffic. Chances are that they are going to require that you upgrade to a commercial service contract, which will be more expensive, but they will offer you a non-changing IP (is that static or dynamic, I can never remember). If you are going to send email from a pop3 mailserver (from your domain name) then you'll want to make sure that you have prots 25 & 110 available as well.
I didn't notice anyone mentioning that he'll need to forward these ports? Also, it would be wise to understand any security risks & how to handle them prior to getting this server online. Read up on firewalls & other security measures of the Operating System & software that you plan on using.
Security is much easier to deal with preventively, than it is to clean up after.
@tommyflint i install that software......on my pc....
Now question is what address should i provide outside? I need the software's full manual....how to share....from which address my pc will be accessible, bla bla.....