Ok, I've installed apache, PHP, MYSQL and vbulletin and I can access it fine via http://localhost. I set my router's port to :8080 ( from :80 ) and I can access it from anywhere with external IP or my domain by adding :8080 to them. I've opened port 80 in NAT but I still can't accesss my vbulletin forum through my external IP or domain but only through localhost. What's wrong?
You have set 80 in NAT, have you changed the settings in your http configuration file? Most likely it is still taking 8080.
I don't think you quite understand what I mean. I had to change my router's server port from 80 to 8080 so my domain wouldn't forward to the router login screen. Then I opened port 80 to allot HTTP. Now I can access my router's login screen by going to domain.com:8080 but when I go to domain.com, nothing comes up. I'm really lost, I have no idea what's wrong.
Yes, i believe you misunderstand what i meant You apache is not being able to take 80 as the default port (Most likely because your router is not allowing to). You can simply change this value to 8080 and allow http://domain.com to take 8080 port from your apache configuration file by changing 80 port to 8080. That way, you can access your apache using 8080 or without anything.
But isn't port 80 for HTTP globally? I have ServerName set to #ServerName www.domain.com:80 ( I tried uncommenting )
I don't understand why my router shouldn't allow it ( I'm doing this for the first time though ) since I've opened port 80 in NAT. So you're saying I should set the router's server port back to 80 and set apache's port to 880? But then when I go to domain.com I will go to the router login, right? ( Since port 80 is the HTTP port ).
I m basically saying to simply set the port of apache to 8080. Your router is already routing correctly i believe. Your apache now need to recognize 8080 port as a http request.
Ok, I changed server port ( router port ) back to 80 and set Listen and ServerName in apache to 8080. It's the same, now when anyone goes to domain.com or myipaddress.com a login screen for my router comes up but nothign comes up if :8080 is added ( apache ).