PDA

View Full Version : Host from my pc.



Javascrypt
16-08-2008, 12:31 AM
I can get it to show from localhost/filename

but i want to know how i can view it on my other computer

madchild24
16-08-2008, 12:39 AM
xamp will do the trick

Javascrypt
16-08-2008, 12:41 AM
yeah i have that but say if im on my other computer (not the host)
how would i view the localhost file on the host computer which is localhost/luke

madchild24
16-08-2008, 01:34 AM
you can't you have set it up to be yourip/luke

Javascrypt
16-08-2008, 01:42 AM
you can't you have set it up to be yourip/luke

So how can i set it up so im actually hosting it on a domain from my computer

N!ck
16-08-2008, 10:22 AM
Forward port 80 on your router to the computer that is hosting if you want it accesible on the intenet.

Lycan
16-08-2008, 10:26 AM
If you want to see it on another computer in your house simply type in your computers name on the browser on the other computer on your network
can't remember if it has to be followed by :80

and to do it externally as said above you need to followed your external ips port 80 to your computer and port 80. although if bored you could forward another port but it wouldn't load automatically when you went to the ip you'd have to place the port on the end of the url

Flisker
16-08-2008, 04:29 PM
If you want a website on your pc use DynDNS.com ?

HotelUser
16-08-2008, 04:38 PM
Firstly assure that all firewalls are disabled, I'm asuming that you're going to use a web server, and possibly other servers like FTP or SQL.
You can access the website by typing http://localhost because in your computer's host file, localhost goes to 127.0.0.1, if I typed http://localhost on my computer it would try to access a webserver running. You can't use http://localhost to access a server running off a different system.

Firstly, I suggest you set up a static IP address, on the system running the server(s): http://portforward.com/networking/staticip.htm

After this, google search how to use DMZ with your router, and set DMZ up for the IP address the server is running on.

Go to http://ipchicken.com and find out your external IP address (this is the address, that other people use to access your server), type it in your browser, if it goes to your web server, it works!

To make a domain point to your external IP address you could either set up a DNS server, or use A records. Since you're starting off I recommend use A records. Go to your registrar's website (where you got the domain from) and find where it allows you to set up A records. assure that yourdomain.com, www.yourdomain.com (http://www.yourdomain.com) and(if the registrar allows wildcards) *.yourdomain.com goes to your IP address.

Want to hide these adverts? Register an account for free!