Linked Questions

0 votes
0 answers
37 views

How can I stop mail DNS records from showing my main website? [duplicate]

I’m relatively new to all this, so please bear with me. Most of everything I know is based on guesswork, following tutorials, trial & error… Anyway, I have a pretty basic LAMP server going on ...
notleks2411's user avatar
0 votes
0 answers
17 views

Apache takes me to same site with different domains [duplicate]

When I try to navigate to my site any domain I enter under https it takes me to the site specified in the VirtualHost config provided. I have setup the ServerName but it still doesn't work. So if I ...
Declan Marks's user avatar
15 votes
5 answers
33k views

How to disable default VirtualHost in apache2?

In apache2 by design, any http request with an unknown Host will be directed to the first loaded VirtualHost. Is there a way to disable this feature? Said differently, I want to have a web server ...
Harvey's user avatar
  • 253
2 votes
2 answers
4k views

Virtual Host preventing server-status directive

In my Ubuntu 16.4 VM I've set up Apache 2.4 successfully and have several vhosts set up. I'm wanting to see server-status but my first vhost keeps preventing that. I've read and re-read the Apache 2.4 ...
sam452's user avatar
  • 279
0 votes
1 answer
4k views

Apache reverse proxy with HTTPS does not redirect to internal website

We have installed MyCollab which is a web-based project management system, unfortunately it does not support HTTPS. They say here that the system does not support HTTPS but you can use Apache reverse ...
3bdalla's user avatar
  • 139
0 votes
2 answers
1k views

How to close a connection if the requested host isn't a virtual host in apache

On my web server I have a bunch of websites defined using VirtualHosts. Currently if I request a website from my webserver that is not defined as a virtual host, I will get back the first virtual host ...
DanielGibbs's user avatar
1 vote
1 answer
876 views

What am I getting wrong in my Apache configuration?

I'm running an AWS setup that currently consists of an ELB pointing to a single EC2 instance. The instance is running Ubuntu 12.04.2 and Apache 2.22.2. I've setup several subdomains on the server in ...
Ben Harold's user avatar
0 votes
2 answers
720 views

Apache redirect seems to ignore ServerName

I have a couple virtual host files. The first one redirects all traffic for http://www.mysite.com to the https version: <VirtualHost *:80> ServerName www.mysite.com Redirect permanent / ...
Divey's user avatar
  • 101
1 vote
1 answer
521 views

Another unknown domain added A record of my IP

I have a domain on GoDaddy and a VPS on DigitalOcean (Ubuntu 14.04 with nginx if that helps). Today I noticed that an unknown domain has added A record pointing to my IP Address on DigitalOcean. All ...
Idrizi.A's user avatar
  • 121
-1 votes
1 answer
662 views

apache disable unconfigured subdomains [duplicate]

There is a webserver which has example.com, www.example.com, my.example.com, shop.example.com, static.example.com. All sites except www.example.com is on https. My problem is when I type ...
Ashrith's user avatar
  • 101
-1 votes
1 answer
315 views

can I get guidence with setting up a subdomain? [closed]

Can someone actually give me the steps on how to create a subdomain and not link me to some random ressources? I have a TLD and run a site on that, but I want create a subdomain for it and install ...
BadWo1f's user avatar
  • 21