Jump to content

Don't have permission to access html page on server outside of localhost

So I got a little html page I wanna host from my pc using WAMP server. I already setup my DNS and domain name and I just want to be able to view the page from without going to localhost, which defeats the purpose of hosting the site in the first place. Any help is appreciated.

Here is a picture on what I'm talking about: http://imgur.com/a/rYuZj

You are on a need to know basis, and you don't need to know.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Do you have a router? If you do, you'll have to forward whatever port your Apache process is using to host (Port 80 is default).

 

Though, more than likely, your ISP is blocking port 80 and you won't be able to use that one. Using a different port will bypass this blocking, but you'll have to explicitly specify the port in your url: http://your-domain.com:8080/

 

You'll also have to forward the alternate port instead of port 80, again, if you have a router.

 

Looks like you did that already & aren't being blocked. It looks as though your Apache is not configured properly.

Edited by HarryNyquist
noticed the picture
Link to comment
Share on other sites

Link to post
Share on other sites

I would do two things:

 

  1. Make sure your ISP isn't blocking port 80, most of them do.  Assign an odd port and visit the site using the custom port, like 8080.  eg - http://somesite.com:8080
  2. If #1 fails, post your apache config into a pastebin and let us have a look

Also, use the snipping tool in windows for much smaller screenshots that you don't have to redact near as much next time. ;)

"There is probably a special circle of Hell reserved for people who force software into a role it was never designed for."
- Radium_Angel

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×