• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] question

Status
Not open for further replies.

kitteyjew

Enthusiast
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?
 

Kaev

Super Moderator
You want to host a website on your computer, but only people in your house/network can connect? Your text isn't fully understandable. :/
 

Hyperion

Founder
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)
 
Last edited:

kitteyjew

Enthusiast
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)
 
Status
Not open for further replies.
Top