Ok here is what is going on First I updated php on Ubuntu v12 to php v5.5 (then checked sites to make sure they still worked) Then upgraded OS to v14 (trusty)
When was prompted just said "i" to all prompts System did a reboot and from there entered "ls" to make sure files where still there.
But web pages will not show in browser instead I get the "default page" I have tried to redirect the apache to the new file location "located at /var/www/html/index.html" but I don't think I am doing it correctly like I said I'm no good with command line
There is no admin he got canned and will not respond
OK So I am guessing I now need to get the Apache to point to the html files (instead of the directory of the apache tree where it does now)
What do I need to enter in order for this to happen? How do I get apache to redirect to the apache2.conf.dpkg-old file or copy the contents into apache2.conf ?
Now the web page has gone down It now says "This webpage is not available"
The web page is the main source of income and I may well lose my job if I don't "fix" this so I will need a step-by-step on how to change:
1.The document root that has moved from /var/www to /var/www/htm
- Move the code down to /var/www/html
OK so after editing text file using: sudo nano /etc/apache2/sites-available/000-default.conf
I tried to "restart" apache I get this: * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 1 of /etc/apache2/apache2.conf: Invalid command 'bash:', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. What does this mean? How do I fix it?
Got the apache working again
However now when I try to navigate to host page in web browser I am greeted with the root table I can navigate to html/ file but am greeted with the "404 not found page" on 3 of the webpages and the "default apache ubuntu" page on the other one.
1 How do I fix? 2 What are the steps to do this?
Managed to figure that sites needed to be reregistered and new certs given to upload them (they are all joomla sites)
Could it be that the php is not doing what it is meant to? If so do I just update it (PHP will need to be 5.6 as higher will not work with where sites are hosted)