Questions tagged [vhost]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

Apache: sd.example.com and sd.example.com/sd both work - how to disable?

I've got a vhost set up for sd.example.com. DocumentRoot is htdocs/sd. Browsing to sd.example.com works as expected. But if I browse to sd.example.com/sd, I get the same result. Is this expected ...
1
vote
0answers
357 views

Self-hosting and Apache virtual host on a Synology NAS: any security risk?

I have a Synology NAS running an Apache web server with several Virtual Hosts. Currently, each vhost is associated with a different port, and my router is pointing on them individually. I also have a ...
3
votes
1answer
62 views

Phantom vhost forwarding from example.com to example.net

I'm running apache2 on Ubuntu 16.04 LTS, and Let's Encrypt Certbot for SSL certificates. I have two domains. Regardless of http or https, www or non-www, I want them to land at https://example.com ...
2
votes
1answer
42 views

Vhosts on Apache Web Server. All in one or in separate .confs

I am trying to have multiple websites hosted on one server, but do not know for sure if I should create the Virtual Hosts for each website contained in one file or have each of them in their own ...
1
vote
1answer
194 views

Using nginx to host roundcube on root domain, while hosting phpmyadmin from sub directory

I have my domain setup to host roundcube at the root domain just fine, using root /www/roundcube in the vhost config, but when I attempt to add another location for phpmyadmin using root /www/...
2
votes
1answer
844 views

Enabling 000-default.conf breaks namebased vhost

I have two sites on a server: dev.somedomain.com and somedomain.com - the latter has a ServerAlias of *.somedomain.com. All domains are SSL-enabled, and all requests to port 80 is redirected to https. ...
0
votes
1answer
67 views

Managing (routing between) two separate servers in the same web app

I am building a website, where the landing page and some other content is based on node, express, angular2 etc. I want to have a subdomain (blog.mydomain.com) which runs Hexo. On my development ...
1
vote
1answer
991 views

haproxy + Apache + virtual hosts -> wrong host is displayed

On CentOS 7.2.1511 Linux I have installed haproxy-1.5.14-3.el7.x86_64 and httpd-2.4.6-40.el7.centos.1.x86_64 packages. The /etc/haproxy/haproxy.cfg binds HAProxy to ports 80 and 443 and accepts HTTPS ...
2
votes
1answer
77 views

Subdomain showing incorrect content when going through HTTPS

I have a domain on my server called example.com and I set up a subdomain called links.example.com. Whenever I go to links.example.com, the domain is pointing to the same directory, even though in the ...
3
votes
1answer
49 views

Vhost sends www.* to another domain

I created a virtual host at my server to host multiple sites, but I got a few unexpected problems. One sites doesn't gets recognized by the server and is redirected to another domain on the server, ...
1
vote
1answer
15 views

Apache Vhosts - subdomaining

I am a little new to the apache vhosts configuration and for educational purposes I wish to set up a domain and a subdomain. The domain is already set up under the name example.com. Now I want to ...
1
vote
1answer
69 views

Configure files to come from a central location unless that file has been customized for a specific site

I have an user A on a server, this users has a working set of scripts (html+js+css+everything else). I also have users B-[as much as I want]. I want those to use the exact same files, but if they have ...