Questions relating to virtual hosting; that is, serving content for multiple logically-separate entities from the same machine. Usually relates to name-based virtual hosting in the web server, but can also cover other protocols such as SMTP or IMAP.

learn more… | top users | synonyms (3)

0
votes
1answer
125 views

Set up Apache2 to server multiple directories on the same domain based on URL path

I want to host two different sites on the same IP, same server, and same domain using Apache2 on Ubuntu Linux. Let's say I have the following directories which represent sites that will serve content: ...
0
votes
2answers
97 views

Unable to get mod_rewrite to stop processing

This is linked to Rewriting subdomain.domain.com when other 'subdomains' exist I need mod_rewrite to 'stop' processing, but it seems to continue on. On my registrar, I've set A records as: ...
0
votes
1answer
175 views

Rewriting subdomain.domain.com when other 'subdomains' exist

My httpd.conf looks like this: NameVirtualHost 12.34.56.78:80 <VirtualHost 12.34.56.78:80> DocumentRoot /var/www/html/site ServerName www.example.com <IfModule mod_rewrite.c> ...
0
votes
1answer
564 views

Redirect port / port 10000 to https apache

I have been reading around and trying different configurations to get a request to my server on port 10000 to redirect a http to a https request. For some reason I can't figure out how to make it ...
0
votes
1answer
220 views

How to setup 2 URLs pointing to same location in Apache for Rails

I want to point 2 URLs to the same rails app. Seems like it would be easy but it's not working! The existing setup looks like this: <VirtualHost *:80> DocumentRoot /home/some/path ...
0
votes
2answers
285 views

Apache2: not defined domains directing to the same virtual host

I have Apache2 configured in a debian box with virtual hosts. I have several domains pointing to the box's IP address. The domains whose virtual hosts are configured works perfectly. But if I type in ...
0
votes
1answer
324 views

Apache leads to /var/www on virtual host

I've set up tens of sites before, I've been following the same process as always, but for some reason whenever i visit www.mysite.com, the apache server loads /var/www (the default virtual host) ...
0
votes
2answers
1k views

Apache on localhost: give virtual hosts specific servers name

I ask my question first and below are details of what I have so far trying to solve the thing: On Apache running on localhost, I want to have different virtual hosts that would be accessible through ...
0
votes
1answer
1k views

How can I run JBoss Application Server and Apache on the same server?

If multiple sites are hosted within a single server, how can someone able to use Apache for PHP and JBoss for Seam. Example: example.com -> servered using PHP example2.com -> ...
0
votes
1answer
203 views

Apache Virtual host points to main domain

Listen 80 ServerName www.mydomain.com:80 DocumentRoot "/www/tomcat/webapps" <Directory "/www/tomcat/webapps"> Options Indexes FollowSymLinks Order allow,deny Allow from all </Directory> ...
0
votes
2answers
625 views

dhclient.conf: Send 2x host-names to the DHCP server?

Already working: Debian box DHCP with send host-name me.company.com in dhclient.conf DNS updates automatically with an entry for me.company.com What I want to add: Send a second host-name, so ...
0
votes
2answers
509 views

Looking for Windows VPS with full admin rights [closed]

I am looking for a Windows VPS provider that will allow me to install any applications that I want on it. I tried the GoDaddy VPS plan, but it wouldn't let me install the windows updates that were ...
-1
votes
3answers
3k views

Apache vhosts not working on Ubuntu 14.04 LTS

I'm trying to set up vhosts on ubuntu 14.04 LTS using apache, but it's seemingly not working. Output of apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified ...
-1
votes
1answer
73 views

Test virtual host configuration [closed]

I'm trying to test my virtual host configuration and the below command doesn't work... how can I test this? /usr/local/apache2/bin/httpd -S -bash: /usr/local/apache2/bin/httpd: No such file or ...