after I updated my server 1 hour ago to 14.04 LTS I can't find/load the sites hosted on that server. I use apache2 and haven't really configured anything else than 2 enabled sites on it. As of now the site only shows all destinations as empty directories.  The sites are still on the server and looks to be intact but somehow unreachable.
33810
I recently installed Ubuntu 14.04, then I installed lamp-server and placed my webpages in /var/www directory, but when I opened localhost in the browser there was nothing. I think that happened because Zend updated Apache.  Whatever the reason may be, I want to know where to keep my php files so that I can access them from my browser.
707
The first thing I did after installing 16.04 LTS was to change my update server to Main Server. I can not find a similar option in Ubuntu 18.04.  How do I change it?
48293
After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file to start/stop my server.  I am not sure if the new install actualy worked, and my apt-get purge apache2 didn't remove everything in the first place!  How can I get the init.d/apache2 file to test if server starts / is installed properly (I had removed files and directories manually)?
48187
My apache2 configuration is problematic: I've two website on a server:   domain1.tdl domain2.tdl   One of them (domain2.tdl) must be and is accessible on port 443 (with SSL). All domains must be and are accessible by port 80. But when we try to access to domain1.tdl on port 443 the domain2.tdl files are display. So, on port 443, domain2.tdl is accessible by domain1.tdl and domain2.tdl. I don't want it !  My configuration:  domain1.tdl:  &lt;VirtualHost *:80&gt;   DocumentRoot /home/sites/domain1.tdl/www   ServerName domain1.tdl   ServerAlias www.domain1.tdl   ServerAdmin xxx@mail.com   RewriteEngine on   &lt;Directory "/home/sites/domain1.tdl/www"&gt;     AllowOverride All     allow from all     Options -Indexes   &lt;/Directory&gt; &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;   DocumentRoot /home/sites/domain1.tdl/www   ServerName domain1.tdl   ServerAlias www.domain1.tdl   ServerAdmin xxx@mail.com   RewriteEngine on   &lt;Directory "/home/sites/domain1.tdl/www"&gt;     AllowOverride All     allow from all     Options -Indexes &lt;/Directory&gt;   domain2.tdl:  &lt;VirtualHost *:80&gt;   DocumentRoot "/home/sites/domain2.tdl/web"   ServerName domain2.tdl   ErrorLog /var/log/apache2/site/error_domain2.tdl.log                 CustomLog /var/log/apache2/site/access_domain2.tdl.log combined   &lt;Directory "/home/sites/domain2.tdl/web"&gt;     allow from all     Options -Indexes   &lt;/Directory&gt;   ServerAlias www.domain2.tdl &lt;/VirtualHost&gt;  &lt;VirtualHost domain2.tdl:443&gt;   DocumentRoot "/home/sites/domain2.tdl/web"   ServerName domain2.tdl   ErrorLog /var/log/apache2/site/error_domain2.tdl.log   CustomLog /var/log/apache2/site/access_domain2.tdl.log combined    SSLEngine on   SSLCertificateFile /etc/ssl/private/domain2.tdl/domain2.tdl.crt   SSLCertificateKeyFile /etc/ssl/private/domain2.tdl/domain2.tdl.key   SSLCACertificateFile /etc/ssl/private/domain2.tdl/GandiStandardSSLCA.pem   SSLVerifyClient None    &lt;Directory "/home/sites/domain2.tdl/web"&gt;     allow from all     Options -Indexes   &lt;/Directory&gt;   ServerAlias www.domain2.tdl &lt;/VirtualHost&gt;
53322
While doing a test-upgrade of our Ubuntu server to 14.04, I found that the package DenyHosts is no longer available. Installing it gives following error:  apt-get install denyhosts Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package denyhosts   Apparently it has been deleted, according to .  Will Denyhosts be available in the final release of Ubuntu 14.04?
26044
I've got a pretty much default sites-enabled set up in my nginx on debian squeeze and i'm now trying to get it to serve up my munin graphs on myhost/munin/  Heres the location i've added to the config         location /munin             {                     root /var/cache/munin/www/;                     index index.htm index.html;             }   And here is the error I recieve:              2012/07/09 23:52:03 [error] 3598#0: *13 "/var/cache/munin/www/munin/index.htm" is not found (2: No such file or directory), client: 93.*.*.*, server: , request: "GET /munin/ HTTP/1.1", host: ""   This set up used to 'just work' in apache. I'm new to nginx so a bit lost as to why its adding the extra /munin when looking for the path. Any advice?
50808
I have purchase new laptop from Dell with ubuntu 12.04 preinstalled. while connecting to Ubuntu One following occurs and I am not able to sync with Ubuntu One.   WebClientErr u'Error downloading https://one.ubuntu.com/api/account/ - server replied:Not       Found' u'&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;\n&lt;html&gt; &lt;head&gt;\n&lt;title&gt;404 Not Found&lt;/title&gt;\n&lt;/head&gt;&lt;body&gt;\n&lt;h1&gt; Not Found&lt;/h1&gt;\n&lt;p&gt;The requested URL /api/account/ was not found on this server. &lt;/p&gt;\n&lt;hr&gt;\n&lt;address&gt;Apache/2.2.22 (Ubuntu) Server at one.ubuntu.com Port 443 &lt;/address&gt;\n&lt;/body&gt;&lt;/html&gt;\n'
46460
I recently tried to delete unoDNS from my laptop. A member of their team gave me some commands to input in a terminal. It looked like it changed the nameserver address back to 8.8.8.8. But after I restarted my laptop I cant connect to internet at all. I am using ubuntu 14.04. Please help.
109976
What is the proper way to edit /etc/apache2/sites-enabled when there is example.com.conf and example.com-le-ssl.conf?  Should I edit both the files when changing something? Or only one and then somehow force certbot-auto to fix it?
67204
I'm very new to Ubuntu and I want to know: what is the exact use of /etc/hosts?   Lets say I'm adding this into it :  127.0.x.x mydomain   What does that mean?
121999
I have installed Apache2 MariaDB and PHP7 for use on localhost, but PHP does not work. The Apache webside looks as normal while phpinfo.php only gives me a blank page. I used to install with 'apt-get install lamp-server^', but I wanted MariaDB, so I installed every single package including some PHP extensions and phpmyadmin. I have no idea of how to get php working. Any clues?   ~ # php -v PHP 7.0.13-0ubuntu0.16.04.1 (cli) ( NTS )   phpinfo.php:  &lt;? phpinfo(); ?&gt;
47807
I have been given a Drupal site which I have to get it running.  I have Apache / Drupal / MySQL up and running, and created a new .conf file in Active Sites, and set the document location to /var/www/html/  I have edited my hosts file so that I have an entry for   127.0.0.1 samplesite.com   If I browse to samplesite.com/index.php I see the index of the site. So far so good. It is all styled, and as I see genuine content I must be hitting the database  Now no matter what link I click on on that page, I get a 404 error. (Looking in the log files its a 404 523 error if that has any bearing on it.)  I then found out the admin userid (using drush), reset the password, and cleared all caches. Still the 404 errors.  If I go to samplesite.com/user or samplesite.com/admin, I still get the 404 error, not an admin login page.  As this is an existing site, and works online, I am blaming something in my setup / configuration (being as the url on a failed link is similar to samplesite.com/about, I am assuming it is in the navigation configuration, but now I am stuck).  Is there an apache url rewriting module (or drupal one?) that needs some configuration? Or can anyone suggest something else I may have overlooked in apache / drupal configuration?  I now have the line $base-url = 'samplesite.com'; in my settings.php file, and none of the other urls work. However it accepts that I am logged in as admin as I have an additional admin menu at the top of the page. (none of the links work though) Curiously, if I disable wifi, then the page doesn't load at all (I wouldn't have thought that wifi on or off would affect localhost)  Ok, My fix came when I followed this thread   I needed to add in the following.  &lt;Directory /var/www/html&gt;    RewriteEngine on    RewriteBase /    RewriteCond %{REQUEST_FILENAME} !-f    RewriteCond %{REQUEST_FILENAME} !-d    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] &lt;/Directory&gt;   However I only got here because of the help I received along the way, I think this was just the missing piece.
31115
I updated MacOS Sierra's Apache and PHP, and now whenever I $ sudo apachectl restart I get this:  AH00557: httpd: apr_sockaddr_info_get() failed for My-MacBook-Pro.local AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message   Things I've tried so far that didn't work:   Setting ServerName localhost in /etc/httpd.conf Setting ServerName localhost:80 in /etc/httpd.conf Setting ServerName 127.0.0.1 in /etc/httpd.conf Setting ServerName 127.0.0.1:80 in /etc/httpd.conf Ensuring 127.0.0.1       localhost is set in /etc/hosts Repeatedly restarting Apache
36659
I'm trying to install apache2 server, but it gives following error message:  It looks like you've deleted /etc/apache2/mods-available/cgid.load, so mod_cgid cannot be enabled. To fix this, please purge and reinstall apache2.2-common. Setting up apache2 (2.2.17-1ubuntu1.5) ...  I've done the same using ubuntu software center, but getting the same error again.
89463
I downloaded the latest  and installed it.  But apparently, there is no /var/www folder.  Can anyone tell me the default location of the Apache's DocumentRoot directory within XAMPP installation?
51324
So I finally got my Ubuntu box up and running, ran the LAMP install, and successfully loaded up the apache2 webserver, and php5.  The one thing I didn't want is for Ubuntu during the installation to take one whole 1TB drive that contained a ton of stuff, but it was a backup drive so no biggie.  But now I was transferring pics to the /var/www location and it copied a directory that contains spaces. Terminal seems to hang when I use the rm command, any ideas would be appreciated, thanks guys.
34104
I made a server and used my IPv4 address for the IP. I decided to scratch that server and make a Bukkit server so I can use plugins. I tried to use my IPv4 address which I used for my other server but I keep getting the message [17:31:15 WARN]: ****FAILED TO BIND TO PORT!  Is there any thing I can do to get a new address to use or is there a way to delete the old server? Do I need to use a different computer? Please help! I've don't know how to fix this problem. If you have any suggestions please tell me and I'll give it a try.