All Questions
Tagged with hosts-file apache-2.4
3 questions
1
vote
1
answer
869
views
Apache 2.4 VHosts with FastCGI and suexec-custom
I have setup at my local machine Ubuntu 22.04 Apache 2.4 with suexec-custom.
In fact, this setup was working from Ubuntu 16 up to this update to 22.04.
I only load some modules, reload some other and ...
0
votes
1
answer
295
views
Apache server throw me 502 error when I try to access site with Public IP
I have a little strange case.
I configured two servers in AWS: Develop and QA, the two with Ubuntu 16.04, Apache 2 and PHP 7.0. I created a website en Develop, and configured its VirtualHost file. So,...
4
votes
3
answers
6k
views
Deny requests for other domains in Apache 2
Let's say I have xy.com running on a server powered by Apache. It's the default virtual host.
Now someone has rewritten his hosts file to redirect yz.com to my server's IP. As my server doesn't know a ...