0
votes
0answers
64 views

Apache2 - Vhost keep redirect to https vhost, and not the request vhost

i am facing an issue with my vHost setup which I rly can't figure out how to fix First my vhost config: <VirtualHost *:80> ServerName dnsmaster.anonogle.com:80 DocumentRoot /var/www/dns ...
0
votes
1answer
88 views

Apache, serving a subdomain from a different directory than webroot

I'm trying to serve two projects, separately, from a shared directory on an Ubuntu server via Apache. The directory of the whole kit and kaboodle looks something like: /project /api /app Now, ...
0
votes
1answer
285 views

Cannot add subdomain after editing vhost templates in DirectAdmin

Issue I have a virtual private server running Debian with DirectAdmin. I have edited the vhost template files used by DirectAdmin so that subdomains aren't placed in the main domain's public_html. ...
0
votes
2answers
356 views

Apache multiple IPs and SSL

I have an Apache server running two sub domains, one of them is configured with SSL. To get the other sub domain to work, we of course had to set up a new IP (because the other one was configured ...
1
vote
2answers
2k views

Subdomain always redirects to main domain. Why?

when I request site1.example.com I get redirected to example.com. In /etc/apache2/sites-available/ I have setup a site1.example.de file with following content <VirtualHost *:80> ServerName ...
1
vote
1answer
238 views

Website integration: Frame, redirect or virtual domain?

I'm overwhelmed by the many choices one has in website design. I'm probalbly asking something really easy to set up, but since I don't have any experience, I'm looking for help. Current Setup I've ...
0
votes
2answers
75 views

Windows sub-subdomain

I have 2 domains ex1.com ex2.com DNS records: MYIP @ my.ex2.com httpd-vhosts.conf <VirtualHost *:1337> DocumentRoot "D:/Webserver/domains/ex1.com/www" ServerName "ex1.com" ServerAlias ...
0
votes
1answer
58 views

subdomain redirection

I'd like to redirect all subdomains *.local to their sub dirs, for example: test.local/ --> /files/test/data/ Here's my vhost file: <VirtualHost *:80> ServerName local ServerAlias ...
0
votes
1answer
190 views

Subdomains problem with Apache configuration

I'm trying to acheive the following: http:// site.com -> main site (with www.site.com rewriting with no www) https:// predeploy.site.com -> second site (password protected and SSL) ...
5
votes
2answers
7k views

Wildcard vhosts on Nginx

I've just installed Nginx on my server and am extremely happy with the results, however I still cannot figure out how to insert wildcard virtual hosts. This is the [directory] structure I'd like: -- ...
2
votes
1answer
842 views

How to configure Apache and Tomcat with vhosts?

I have a server with a static, public IP address. I also have a registered domain name. For the sake of illustration, let's suppose they are IP Address: 12.34.56.78 Domain Name: example.com I ...