0
votes
1answer
51 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
130 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
1answer
35 views

Sub domain url resolve [closed]

I created a subdomain for my application subdomain.domain.com and redirected it to a VPS (Ubuntu server 12.04) I have, but when I access the url on the navbar, it is replaced by the IP of the ...
0
votes
2answers
260 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 ...
0
votes
0answers
125 views

Setup wildcard subdomain with zendServer

My vhost setup fails when I try to setup a wildcard subdomain. I make use of zendServer on Mac OSX. I tried to setup a subdomain by adding test.domain.localhost to vhost.conf, local host file and ...
1
vote
2answers
1k 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
191 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
60 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
42 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
161 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) ...
1
vote
1answer
2k 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
713 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 ...