I'm new to this so please bear with me.
As I understand, it's like this, correct me where I'm wrong:
So i just edit the default config in /etc/nginx/sites-available/default and use it right away. Now I want to host more than 1 site on the server.
It seems that the if I go to my apache httpd-server with only the ip-address it will always default to the first vhost-config domain which is alphabetically first configured in the sites-enabled folder.
Now I have the case that some strange domain has as a DNS-resolution to our server which is obvisously wrong but results in error entries in my error.log file.
If I enter this domain name in my br
I set up a site a while ago to work on port 8080, and copying the configuration, changing only the root directory and port, I expected to have another site served on port 8082, but it fails with: Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.
Here are all the relevant config files, I can post more if there is something missing.
sysadmin@cpms-hub:~$ cat /etc/apache2/s
I had my site (let's call it site3.com ) set up for apache which I am now trying to move to nginx.
Hi,I set CentOS 5.5 as a LAMP server and I host some web sites. For a reason which I don't know, all my web sites shows default web site app. every 3-4 weeks time. When I restart A... [by telmessos]
Is it safe to change the appache default website root folder to somewhere in user home? I wonder if it is okay to do. Because otherwise I have to save the default site by another name and then run apache commands to disable the default site and enable mine. So why not just edit the default site and change the document root and directory to somewhere in my home.
Hi,
I have already started working with virtual hosts, and everything seemed to be alright. Actually I have only two vhosts, the default one and the one I created. I removed from them every Indexes option I found, because I dont want apache to browse my folders, and it works. It's the only change I made in the default config file.
I am able to access only the Default Web Site on a Windows 2008 R2 Server which is running IIS 7.5
The Default Web Site's binding is to "All Unassigned", same way as I have done it on a different machine running IIS6 under Windows 2003 Server.
I have an Ubuntu 11.10 with Apache2 that is hosting some sites. I would like to add a site that is hosted in tomcat, so I installed mod_jk and set it up. The tomcat site is hosted under /app over ajp13.
When I include the line
JkMount /app/* ajp13_worker
in inside of the <virtualhost> in either 000-default or default-ssl, it works perfect.