All Questions
Tagged with apache2 virtualhost
156
questions
0
votes
1
answer
35
views
Apache ignores second virtual host
we are using Apache on an Ubuntu server to host our websites. SSL Certificates are provided be LetsEncrypt and everything worked fine for the last years.
Last friday I tried to renew one of the ...
0
votes
0
answers
100
views
What would cause virtual hosts to use the same version of php-fpm after adding distinct fpm handlers?
As soon as I enable php8.1-fpm.conf, all my sites switch from using php7.4-fpm to php8.1-fpm. All my vhost files have fpm handlers added to the <VirtualHost *:80> blocks like
<VirtualHost *:...
0
votes
0
answers
396
views
Set up proxy for Nextjs and WordPress blog
Thanks in advance. I am new to server setup. So pardon me If I used the wrong words.
I am setting up an Ubuntu server to host Nextjs and WordPress blog on the same server.
I have to set up Nextjs on ...
0
votes
0
answers
51
views
Show content of loaded sites-available in apache2 under ubuntu 18
I accidentally deleted a .conf in /etc/apache2/sites-available.
Is there a way to retrieve the content of it?
When I type a2query -s, I see that the deleted .conf is still loaded, since I did not ...
0
votes
0
answers
53
views
Apache with vhosts: Newly created site opens other site
I have a server with three vhosts, the default (domain.com), site1.com and site2.com. The server is running Ubuntu 22.04 LTS with Apache2. Until yesterday, this server only served the default domain, ...
0
votes
0
answers
20
views
DNS/Domain not working [duplicate]
I have domain, pointed to my VPS. I made VH in apache to serve simple index.htm file to check if everything works fine.
Unfortunatelly something is wrong because page is not found(http://zoofi.me).
...
0
votes
1
answer
127
views
Apache2 subdomain not found after addition
Here is a situation
I have example.com domain pointed to my server where Apache2 runs.
Currently I have two confs (one for HTTP and one for HTTPS) that accepts example.com requests and shows page ...
0
votes
1
answer
283
views
Apache vHosts - Two domains, multiple subdomains and defaults possible?
after searching and try-and-erroring for a while I came to the conclusion that my problem is a bit too special for google :-)
I have 2 domains and multiple subs
example.org
cloud.example.org
wiki....
0
votes
1
answer
83
views
Apache2 VHOST matches wrong server name
I'm running Apache 2.4.54 on Debian Bullseye and have 42 VHOSTs configured. Most of them are subdomains xxx.my.domain.com of our main domain, say my.domain.com. One client has a special domain. There ...
0
votes
1
answer
2k
views
Apache virtualhost port 443 serves content from port 80 configuration
I'm running Apache 2.4.52 on Ubuntu Server 22.04.
I'm trying to run https through port 443, eventually aiming to have a redirect from port 80 to force content on https. However, Apache seems to be ...
0
votes
1
answer
378
views
Apache2 how to generate random string for subdomain
I want to issue a redirect to a new randomly generated subdomain name for every request I get. Below you can find my vhost configuration. I want to do a redirect towards a subdomain containing some ...
0
votes
0
answers
45
views
How do you set up multiple virtualhosts on apache2 using only the server ip and server alias?
I'm trying to set up apache with multiple virtual hosts "filebrowser.com" and "videos.com" however, I'm only able to access filebrowser.com and not videos.com. I also have to enter ...
0
votes
1
answer
539
views
Can't load Web API with SSL (ERR_SSL_PROTOCOL_ERROR)
So I can't get my head around this problem, and looked everywhere on the internet but did not found any working solution.
1.1. I have an apache server running as virtual host. In the initial situation,...
0
votes
1
answer
986
views
Apache virtual host serving incorrect index.html file for one of two domains connected to server
I have two domains setup on a single server using Apache Virtual Hosts. The first domain (domainA.com) is loading the index.html file of the second domain (domainB.com), even though the first domain (...
0
votes
1
answer
832
views
Request exceeded the limit of 10internal redirects on cPanel Server
I just created a subdomain called virtual from cPanel and its return 500 error. When I check the error_log I see below error:
AH00124: Request exceeded the limit of 10internal redirects due to
...