View Full Version : [SOLVED] question
11-02-2014, 07:52 AM
alright guys, so ive looked at tutorials, and such but to no luck, i want to use a simple host site, because my main is still being made and i dont know how to link my database with it, so im using a apache one, alright so my issue, i have port 80 forwarded, i add my external ip and the local host the my hosts, in the drivers, but noone outside of my house can access it?
You want to host a website on your computer, but only people in your house/network can connect? Your text isn't fully understandable. :/
11-02-2014, 01:40 PM
There is a little more involved than that. Iv'e said this many times but, the 'host' file you speak of is totally useless unless you have more than one external IP.
Port 80 is usually blocked by most residential ISP's also.
Apache > PHP > MySQL, you probably have to change your httpd port to something else and connect http://yourip:newport
You can find the httpd.conf in your Apache files.
But again, if you're willing to spend just a few bucks, you can just rent webhosting.
Side note: Linking your MySQL between 2 hosts requires you to add a remote user. Or just edit an existing MySQL user and add % as the host.
(Or add a new user with the hostname of the machine that's trying to connect to the mysql)
11-04-2014, 03:29 AM
faded, how would i go about conecting my database to a regular host? as i have one that is just a .com and not a cheap one lol( hosted by godaddy)
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.