FOG Apache / Web Page / DNS issues
-
Completely wiped out my server to virtualize it. Running on ESXi 5.5 with the latest version of FOG GIT and using Ubuntu 14.04.
I’ve added a DNS entry for the FOG server but am getting issues when trying to navigate to the page. I can get to fog.mydomain.com but when I do I get the default Apache welcome page. When I add fog.mydomain.com/fog/management I get 404 not found. I can ping fog.mydomain.com and get a resolved IP. I can also navigate to ipaddress/fog/management and get to the FOG homepage.
So the only issue I’m having is trying to navigate to the homepage using the DNS entry. I’ve also flushed my DNS entries with not luck.
-
@jquilli1 You’ve created a dns A record, have you created the PTR record also?
what’s the server’s hostname?
-
There is a PTR record
The hostname when running hostname command in Ubuntu is fog.mydomain.comif I navigate just to the IP address I can see the parent directory of “fog” and “html”
-
@jquilli1 if you just try to browse to fog.mydomain.com do you get the Apache test page?
-
@jquilli1 Anything in the apache error log when you try to access fog.mydomain.com/fog/management ??
-
@Wayne-Workman yes, I’m landing at the Apache test page.
@Sebastian-Roth Here is my Apache error log.
http://pastebin.com/XEZaLZN6 -
I know you guys are busy but just wanted to see if you had any idea on what would be causing this?
-
@jquilli1 If you have time, I could remote in via Team Viewer and try to help. Message me.
-
If anyone else is having this issue the fix was:
symbolically link /var/www/fog to /var/www/html/fog
ln -s /var/www/fog /var/www/html
Mod edited to include command.