0
votes
2answers
37 views

Apache VirtualHost: Moving from one site to “single server, 2 sites”

Currently, I have a single production website running on Apache/2.2.3. I use mod_rewrite extensively and have about 200 RewriteRule's. Now I need to add another website from a second domain name to ...
-1
votes
1answer
38 views

apache2 - can't connect via internet [closed]

I am running apache2 on a home server. Everything works fine on my LAN, but I can't connect to it over internet. Chrome hangs at "Sending request...". My IP is xxx.xx.xxx.162. Ports are forwarded. TCP ...
0
votes
1answer
21 views

Directing a live domain to a virtual machine via hosts

Here's the goal: I want www.foo.com, which exists in the wild and is currently redirecting to www.foobar.com in the wild, to resolve to my vm site. The VM version of this site is a complete rebuild ...
0
votes
0answers
21 views

How can I create a web application as a subdirectory of another application in Cherokee?

I have a cherokee web server. I have a virtual server running a web application, say Mediawiki, at a domain like example.com. I want to set up a different web application, say a Django application, ...
1
vote
1answer
100 views

phpMyAdmin rewrite for nginx

I am trying to configure Nginx so that I can access PhpMyAdmin from a subdirectory (aka domain.com/phpmyadmin). The code provided below seems to work for me although I don't want the alias to be ...
0
votes
1answer
192 views

Can HAProxy load balance a remote site, while the server it runs on hosts another?

Bit of an odd question, and I know it's not ideal, but still..... I currently have a virtual machine that acts as a web server using Apache. This hosts a couple of different sites, with that being ...
0
votes
1answer
46 views

apache2 incomprehensible https redirect

I've got a question about apache2 and Virtualhosts. I declared some in my /apache2/sites-available/ownsites in order to get access via different domains and subdomains, for example: <VirtualHost ...
1
vote
0answers
71 views

nginx does not respect “root” directive

I'm running an EC2 instance with Ubuntu and trying to setup virtual servers for two domains without luck and cannot figure out why. My web documents are located in /var/www/<domain> and ...
2
votes
4answers
83 views

apache port number [closed]

For each development sites I want to have a unique port number. For instance, domain.com:1234 This is what I have in my httpd.conf file. After restart the page domain.com:1234 is not showing in the ...
0
votes
0answers
158 views

virtual hosts on lighttpd can't load

Thats what I did: Added following code to lighttpd.conf $HTTP["host"] =~ "(^|\.)test\.com$" { server.document-root = "/home/test" } created /home/test Restarted Lighttpd but it doesn't load ...
1
vote
1answer
324 views

How to configure g-wan to use virtual hosts?

Say I have a domain foo.com and a server accessible at 50.60.70.80. I have configured the DNS entries so that foo.com and www.foo.com point to 50.60.70.80. I have g-wan running on the web server. Now ...
1
vote
2answers
244 views

How to block Spiders / Scrapers by REMOTE hostname / domain for all Virtual Hosts in Apache?

I've seen plenty of robot.txt stuff, and some mod-rewrite solutions that looked promising… but haven't been able to find a simple solution to block Spiders / Scrapers / whoever the hell I want to ...
1
vote
1answer
211 views

Performance implications of multiple Virtual Hosts in Apache?

The suspicion may be completely inaccurate, but my guts tell me running multiple <VirtualHost>ServerName site.domain [...]</VirtualHost>-statements on the same Apache server (same ip) ...
0
votes
2answers
265 views

Is it possible to run two webservers on the same port on the same server? E.g., Apache and Lighttpd [duplicate]

Possible Duplicate: Running two services on port 80 I have a QNAP TS-459 Pro II that comes with an Apache webserver which runs on port 80. I'd also like to run a small Sinatra app; also on ...
0
votes
1answer
223 views

Wildcard vhost subdomains with 301 redirect

At the moment I create a .htaccess file which redirects non-existent sub domains to the root URL. E.g <VirtualHost *:80> ServerAdmin www@example.co.uk ServerName example.co.uk ...
2
votes
2answers
2k views

Howto use Apache virtualHost with etc/hosts

I'm trying to have http://www.mysite.com and http://test.mysite.com running on a production webserver, and now I'm doing some basic tests in local machine before transfering the datas on the ...
0
votes
1answer
86 views

Can I share my vhost to my local workgroup?

Scenario: 10 Windows XP computers one Airties 206 ADSL modem workgroup network computer A runs Apache web server in computer A set some virtual host name for some folder in apache Question ...
3
votes
2answers
506 views

How do I mange permissions for multiple users editing the same code on my server?

I have a server that a few different coders will be using to work on various websites. Each coder will need to have access to each website. There's two 'clean' methods I've come up with to do this ...
2
votes
1answer
378 views

How to analyze which virtual host account is most greedy?

Hi there and sorry if this is too noobish. I've tried to find the answer myself as I usually do but I failed. What is the best practice when I need to analyze which virtual hosts are consuming the ...
1
vote
2answers
512 views

Choice of document root for virtual hosts

I'm investigating the configuration of Name-based virtual hosts, under apache, for the provisioning of a main domain, and its sub-domain. I've found one example on the web that suggests a ...
0
votes
4answers
820 views

Ubuntu: Apache access forbidden error

I've been experiencing a problem with my virtual hosts, I don't understand why apache looks for /home/* directory if my virtualhosts' directory is somewhere else? tail -f ...
0
votes
1answer
347 views

virtual hosts overlapping in debian apache2

I have a domain domain.com and a subdomain sub.domain.com . In apache2/sites-available I have 2 vhosts files: domain and sub. When I do a2ensite sub the subdomain overwrites the domain, so when I go ...
0
votes
2answers
239 views

Is it possible to setup and Svn repository on an existing hosted web server?

In this case I don't have full access to it. (hostgator) Can I install/use a svn repository for my code ? I'd like to kill two birds with one stone since I already run a website off of it.
0
votes
1answer
796 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 -> ...
1
vote
1answer
284 views

Setting DNS for a Virtual Host on Same IP

I have multiple domains hosted on one server with just one IP address, it was previously setup by other people and past on to me and I have had to change Domain Providers and have to setup the DNS ...
0
votes
4answers
583 views

Media server and Web server — same IP address, how do I set this up?

Hi I'm trying to build a website where users can upload images. I am wanting to have a seperate media server to host the images, so that the web application can point to the images like ...
0
votes
2answers
1k views

Bind VirtualHost to network interface

In Apache2, is it possible to bind a VirtualHost to a different IP interface than other virtual hosts, or the server's default Listen address? The goal is to have a web server that serves some ...