We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [apache2]

Use this tag for question related to configuring and using Apache on Ubuntu or one of Ubuntu's official derivatives.

Filter by
Sorted by
Tagged with
0
votes
0answers
328 views

Apache2 Ubuntu Default Page showing after updating

I have a server running nextcloud and some other things (like bots). After every update I cannot access Nextcloud or the other things and Apache2 Ubuntu Default Page appears instead of my Nextcloud ...
0
votes
0answers
13 views

move binami to ubuntu server wordpress throw 403

we use aws binami for our site its use wordpress now we try to move ubuntu 18.04 server so we get all file from binami htdoc and sql as wel now we add everything in to the apache2 and this is my ...
0
votes
0answers
52 views

Unit mysql.service not loaded

I am having problems with Mysql, I am using this command in the terminal sudo / opt / lampp / lampp start I get the following logs a9:~$ sudo /opt/lampp/lampp start Starting XAMPP for Linux 7.3....
0
votes
0answers
43 views

PHP is not working on local Apache Webserver

I am trying to setup a local wordpress installation and followed this tutorial to setup LAMP. Unfortunately my Server does not seem to process PHP but I can't find the issue. If I create a file info....
0
votes
0answers
56 views

Ubuntu 18.04 unable to reinstall apache2 default runlevels link removed by mistake

I recently used sudo update-rc.d -f apache2 remove than I did sudo apt purge apache2 and sudo apt remove apache2. I'm trying to reinstall apache2, but I'm getting this error message: See "systemctl ...
2
votes
0answers
66 views

Webpage can not get access from the world!

I have installed a fresh Apache with a fresh Ubuntu server. I did not make any changes to my server yet. The default Apache website is visible from other PCs inside the private network. The ports 80 ...
0
votes
0answers
19 views

After upgrading ubuntu 12.04 to 18.04 my svn repo is not detected by apache,any help would be appreciated

After upgrading ubuntu 12.04 to 18.04 my svn repo is not detecting by apache2, any help would be appreciated. PFA screenshots---> only revision number is showing not showing the projectsubuntu
0
votes
0answers
42 views

Webpage isn't updating changes unless I restart apache2

I've been searching for a solution to this problem for a very long time now and I just can't seem to figure it out. I've installed apache2 and mysql and php7.0 on a fresh install of ubuntu yet the ...
0
votes
0answers
24 views

How to make so when i type ip it redirects to domain name?

Ubuntu 16 on KVM VPS. (Apache2 + Nginx as front) PHP 7.3 When I enter my dedicated IP and domain, both show Apache2 Ubuntu Default Page /var/www/html/index.html How to make so when i type ip it ...
0
votes
1answer
208 views

Package mysql-server-5.7 is not configured yet

I have tried everything relevant that I can find inside this answer But nothing for me so far as fixed this issue. I have never had mysql successfully installed. As I had tried to install phpmyadmin ...
1
vote
1answer
194 views

apache2 service is masked

I installed Apache 2 on ubuntu 19.04 desktop and was able to do a test access via localhost. I then discovered that the service was masked. I know how to unmask it, but I do not want to do so until I ...
0
votes
1answer
64 views

Problem installing Apache web server in Ubuntu 18.04

I see this code in red after trying to install apache: $ sudo apt-get install apache2 ... Active: failed (Result: exit-code) since Fri 2019-09-27 15:18:07 +0330; 8ms ago Process: 8805 ExecStart=/...
1
vote
0answers
46 views

Can't access my website with domain name with DigitalOcean

I'm using DigitalOcean for my hosting services and I've several domain names on the same droplets. All these domain use Let's Encrypt for SSL certificates. What's your DNS records ? |--------|-------...
0
votes
1answer
46 views

Apache cannot access mounted drive even with proper permissions

I'm still learning, so please bear with me. I installed Apache, php, and mysql and have some vhosts running, used certbot to secure the domains and all is well there. I can access the domain, run ...
1
vote
1answer
27 views

Something blocking port 80

So I'm trying to get Apache to run on AWS server again and I'm running into this error: (98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80 (98)Address ...
0
votes
1answer
52 views

apache2 gives me an error code

after apache2 installation, apache doesn't work: ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; disabled; vendor preset: enabled) Drop-In: /lib/...
0
votes
0answers
49 views

Cannot install apache2 due to dependency issues

I am running Ubuntu 19.04. How do I install apache2-bin and apache2-utils? I thought sudo apt-get install apache2 would install everything I need. The following packages have unmet dependencies: ...
0
votes
1answer
48 views

File exists but is inaccessible via script [closed]

I am receiving the following error when trying to display the contents of /var/log/apache2/error_log in a bash script: more: stat of /var/log/apache2/error_log failed: No such file or directory Yet, ...
0
votes
0answers
47 views

Ubuntu server 18.04, Dynamic DNS w/google domains - mydomain.com resolves, www.mydomain.com does not

My problem is this - I don't know the best way to end-to-end troubleshoot this dynamic dns setup and hosting. Essentially what I want to is use the google domains dynamic dns service to forward http ...
0
votes
1answer
22 views

How do connect /var/www/html folder to the spring-boot project in /home/user

I have created a spring-boot project in /home/MYUSERNAME folder in the spring boot project there are html and jsp files in webapps/jsps/ folder. So, how do I link them to www/html folder? Is it a ...
1
vote
1answer
106 views

How should I configure multiple virtual hosts with a single configuration file in Apache?

System Linux hosek 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Issue How should I configure multiple virtual hosts with a single configuration file ...
2
votes
1answer
146 views

18.04 - Not able to connect to mysql

So I've been trying to setup my new work development system, I have gotten everything installed and setup properly except MySQL. I've been trying everything I can even think of to gain access to mysql ...
0
votes
0answers
27 views

.htaccess files being ignored by Apache2 on Lubuntu 18.04

My wordpress install is ignoring my .htaccess file. I am running Lubuntu 18.04 locally with Apache2. The root directory for localhost is at /var/www/html and my wordpress project is in that folder ...
0
votes
1answer
52 views

Allow Access to Apache 2 Server on local network

04.3 LTS. I want to allow access to other devices to my localhost. My IP is 192.168.1.249 and the apache server is working for those addresses: localhost/myapp esolutions/myapp 192.168.1.249/myapp ...
0
votes
0answers
26 views

How to manage dynamic sub-domain on Ubuntu in local system?

Can we manage the dynamic domain without adding all list of domain in etc/host, Is it possible to create dynamic host like Blogspot, like in Blogspot I can access my blog with my username, like ...
1
vote
0answers
45 views

Web server goes unresponsive

I've been knocking my brains on this for a week... Setup: Ubuntu 16.04 LAMP stack, php 5.6 (yes I know I need to upgrade this). The server runs many sites for one organization, one of which gets ...
0
votes
1answer
71 views

Get PHP7.3 working with Apache2 on Ubuntu18.04

Ubuntu 18.04 Apache2 PHP 7.3 My .../phpinfo.php file is being displayed as text. I have run a2dismod on php7.0, 7.1, and 7.2 justtobesure. I ran $ sudo apt install libapache2-mod-php7.3 Reading ...
0
votes
1answer
128 views

Apache 2.4 error 403 Forbidden

I have Ubuntu 18.04 system running apache2 and SSL from LetsEncrypt. Also I have connected a domain name to my server. I've tried changing permissions and folder owners, but no matter what I do, I ...
0
votes
1answer
146 views

$ apache2 --version WARNING

I'm very beginner in this thing After using $ apache2 --version It is showing [core:warn] [pid 6371] AH00111: Config variable ${APACHE_RUN_DIR} is not defined apache2: Syntax error on line 83 of /...
1
vote
0answers
58 views

ERROR: Could not reliably determine the server's fully qualified domain name, [duplicate]

I'm facing a problem after using $ sudo systemctl status apache2 apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) ...
0
votes
0answers
77 views

libpng warning: Application jmp_buf size changed Segmentation fault when try to run xampp installation file

I trying to install XAMPP on my ubuntu 18.04 but I got this warning from libpng by running this command: sudo ./xampp-linux-x64-7.3.9-0-installer.run The thing need to be considered is that I got ...
0
votes
1answer
67 views

Ubuntu and GitLab: Nginx and Apache, Two Network Interfaces

I'm attempting to configure my Ubuntu server to allow both Apache and Nginx (GitLab) to run side-by-side with each web server monitoring a different network interface. I have the following interfaces ...
1
vote
0answers
55 views

Problem configuring MSSQL client and Kerberos authentication

I have a problem configuring an Ubuntu 18.04. client to connect to MSSQL Server using Windows Authentication. First of all, Kerberos/AD Login works fine using PAM and Winbind, connection using SQL ...
0
votes
0answers
27 views

How to view vm websites on host?

I'm using a host-only adapter. I'm using an apache server. I've set a static i.p address based off of my own I.P. address. when i enter the static address into my web browser it does not work. It's ...
0
votes
1answer
111 views

PHP Curl Errors with libidn2-0:amd64 (2.2.0-1+ubuntu18.04.1+deb.sury.org+1)

I am on Ubuntu 18.04 LTS using the repository ppa:ondrej/php. I initially started getting errors in Apache with: Fatal error: Uncaught Error: Call to undefined function curl_init() in... After ...
0
votes
0answers
30 views

Getting error 503 after upgrading to php7.2 from php5.6

I upgraded my server php version from 5.6 to 7.2 by using: $ sudo apt-get install libapache2-mod-php7.2 php7.2-fpm php7.2-common php7.2-cli php-pear php7.2-curl php7.2-gd php7.2-gmp php7.2-intl php7....
0
votes
1answer
19 views

Can't Access Graylog after Deploying Charmed Distribution of Kubernetes with Logging

I started with conjure-up but never got the summary screen with all the endpoints. I do not know how to access graylog. I tried hitting the ip for Apache2 but that showed me some sort of Apache ...
0
votes
0answers
29 views

Is it possible to install a nginx-only domain in a server running Vesta (apache + nginx)?

Hi I have a Cloud Server in a local hosting company with Ubuntu Server 18.04 installed. I've already successfully installed Vesta Control Panel with these settings: Web: nginx + apache FTP: vsftpd ...
0
votes
0answers
97 views

MySQL not added to Apache2-PHP7.3

So I am upgrading from PHP7.0 > PHP7.3, and this shows in Apache2 when I do the following on a web page: phpinfo(); exit; //7.3.9 For the record I also needed to run: a2dismod php7.0 a2enmod php7....
1
vote
1answer
53 views

Apache2 - where is <location/> in the config file?

Why there is no <location> in my Apache2 config file? $ sudo nano /etc/apache2/apache2.conf I can find the <Directory /> as follows: <Directory /> Options FollowSymLinks ...
0
votes
1answer
17 views

How to prevent clone my application what hosted in Apache server using Ubuntu 16.04?

I have web application working offline it hosted in Apache server using Ubuntu 16.04. How can i prevent any copy of my application files even with any live CD or try Ubuntu? i tried disk encryption ...
0
votes
0answers
53 views

How to disable apache2 if systemctl disable fails due to “update-rc.d: error: cannot find a LSB script for apache2”?

If I disable the systemd unit apache2 as usual with systemctl disable I get the following failure for apache2 on Ubuntu 19.04: > sudo systemctl disable apache2 Synchronizing state of apache2....
0
votes
0answers
52 views

Add a site to apache2 using a different port

I have inherited the management of an old server. It seems that there is an intranet site configured to the port 80. In that server it seems that there is also installed vtiger version 5.4italian I ...
0
votes
0answers
30 views

Restore a website by making a new virtualhost

I have an ubuntu machine with installed apache2 and vtigercrm504ita. I suppose someone removed the virtual host for vtiger because if I run: root@ubuserver:/home# apache2ctl -S VirtualHost ...
0
votes
0answers
87 views

How to check php memory leak?

Nowadays we are facing server slow issues os:ubuntu webserver:apache2 summary We have AWS Ubuntu server it has 8GB ram and runs only one website it uses for API and backend purpose only when ever ...
0
votes
0answers
25 views

Upload files to the root of your web server [duplicate]

I try upload files like title says, but don't know how. I was think is simple as copy paste from folder (files) but since my server is in root, there I can't paste or change things. I use Ubuntu 18....
0
votes
2answers
805 views

Access denied for user 'root'@'localhost' (using password: YES) from different machine

I am trying access remotely the mysql from different machine in my local machine. When i gave the following command mysql -u root -p i got the following error ERROR 1045 (28000): Access denied for ...
0
votes
1answer
57 views

apache2 Creating multiple sites under same domain name in https

I want to have two sites that use the same domain name and what separates them is a slash in the URL. For example: www.mywebsite.com:443/site1 => /var/www/mywebsite1 www.mywebsite.com:443/...
0
votes
0answers
186 views

“failed to fetch” error while installing Apache2 on Ubuntu 18.04

I am trying to install Apache2 on the Ubuntu Container(based on this official Docker Image). The container runs on Ubuntu 18.04. On running apt install apache2, I get the following error. E: Failed ...
0
votes
1answer
44 views

How decrease number of subprocess & process of mysqld and apache2 on Ubuntu server

i'am not professional server administrator.have an ubuntu server that host a Wordpress website use for shoping with almost 200 user's per day. Server config is : 512 MB Memory with 25 GB SSD I need ...