0
votes
0answers
20 views

CenOS 6.5 Apache 2.2 Django Project gives / 403

I have Apache 2.2 running over CentOS 6.5 for first time. I faced no problem with Ubuntu with configurations below, but on CentOS always giving me 403 error. The example.com domain is living under ...
0
votes
0answers
24 views

Virtual host Alias not routing properly

I apologize if this question has been asked many times in the past. I am not 100% sure of the exact cause of my issue and am out of google magic right now. Basically I have a virtual host file setup ...
0
votes
1answer
51 views

Chrome and IE Virtual hosts subdomains pointing to wrong directory

Firefox brings up the correct pages, but IE and Chrome both bring up the default page. I am running Apache/2.2.15 (Unix) on CentOS 6.5 I have a virtual.conf in the conf.d folder with the following: ...
-4
votes
2answers
75 views

how can i access a directory from network in apache using httpd.conf [closed]

I want apache to access a location which is in network that means instead of specifying a DocumentRoot from withing the server(mine is centos) i want the apache to access a directory which is on ...
1
vote
2answers
556 views

Can't get PHP to work on Apache VirtualHosting environment

Trying to setup an Apache VirtualHosting environment with PHP in a freshly created CentOS node under DigitalOcean cloud server. The trouble is, although Virtual hosting is working per se, PHP isn't. ...
2
votes
0answers
38 views

TTFB different between 2 identical virtual hosts on same machine

After almost 3 years of finding every answer on either StackOverflow or ServerFault, I'm finally stuck on one. I recently migrated our server from dedicated to VPS, and the problem now is that we have ...
0
votes
1answer
77 views

A subdomain not loading

On my newserver i set up a subdomain patientslife.linf.in. But when i try to set up another subdomain pmr.linf.in it shows the page The connection was reset in Mozilla and No data received in chrome. ...
0
votes
1answer
85 views

Possible conflict in log rotate files with vhost? (CentOS)

I'm a little new to this, but our previous developers didn't set up the vhost logs to rotate (or Apache was configured wrong) so while the default logs rotate, the vhost ones do not. I was reading ...
0
votes
3answers
1k views

PHP doesn't work on Apache virtual host

I have a virtual private server with Parallels Power Panel on CentOS 6. The default Apache virtual host (accessed using the IP) works wihtout any problem. Now I created a new domain with Plesk and ...
1
vote
1answer
307 views

Can i generate Dynamic Virtual hosts with Apache and Mysql

I want to have a webpage where i can define my viruals hosts with all parameetrs like Port Document Root Log and all other parameters so that i can have one Mysql Row per Virual hosts and Apache ...
1
vote
1answer
104 views

OpenSSL response 404 issue on centOS 6

I followed this tutorial (though it's for 5.2, I figured I'd be alright). The changes I had to make that seemed to have worked: Rename ca.csr to ca.cslr (that's the one the command generated) List ...
-1
votes
1answer
24 views

Virtual Host directives disappearing from the httpd.conf file [closed]

Occasionally, I notice that the Virtual Host directives literally disappear from inside the httpd.conf file. The domains still redirect correctly, however I can't see (or edit) the directives ...
0
votes
1answer
63 views

ngninx Configuration for dynamic (sub)domains

I'm trying to configure nginx in a way that will mean less fiddling later down the road. I don't want to have to create a config file for each domain and sub domain, I want a single configuration ...
0
votes
1answer
79 views

Virtual hosts only working for 2/4 directories?

I am running CentOS 6.2 and I have in httpd.conf the following: <VirtualHost *:80> ServerAdmin user@example.co.uk DocumentRoot /var/www/html/example.co.uk/public ServerName ...
2
votes
1answer
406 views

CentOS, ifdown on virtual interface removes IPv6 addresses on physical interface

In CentOS 6.4, when using 'ifdown' on a virtual interface, the IPv6 addresses configured on the physical interface are also removed. I expect only the virtual interface to be changed. How can I ...
3
votes
1answer
171 views

Setup default page for Apache Virtual Hosts

We are running Apache on a server with multiple VirtualHost entries. Whenever someone access the server by it's IP address (http://198.147.xx.xx), one of the websites that is a VirtualHost comes up. ...
0
votes
1answer
215 views

Assigning two IPs to one NIC in CentOS

I have been following this method described here: http://linuxwave.blogspot.com/2010/01/setting-virtual-ip-in-centos.html To assign a virtual IP to one NIC. Basically I copied ifcfg-eth0 and makde ...
0
votes
2answers
379 views

Virtualhost priority

I have my apache server set up and I subdomains are linked to an application which will then find the appropriate database to work with or exit if it does not exist So for that I have an *.domain.tld ...
1
vote
0answers
62 views

Apache VirtualHost options with ePages e-commerce solution

I have a Centos server running ePages (which runs on Apache). Now I want to use the same server to host a couple of other sites as well, but I can't seem to get my configs working correctly. I'm not ...
0
votes
1answer
170 views

Checking problems with running a new site on CentOS

I have an empty CentOS 6.3 box. I need to run multiple websites from this server. Things that I have done so far are: Installed Apache, MySQL, PHP and PHP modules by following this article. I ...
0
votes
0answers
219 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 ...
0
votes
1answer
100 views

nginx server setup issue

I have to setup Kayako server on a centOS 6.3 machines.. I installed nginx with php5.3 and other required stuff, everything is working. So I copied kayako files to: ...
0
votes
0answers
364 views

kayako setup nginx virtual host

I have to setup Kayako server on a centOS 6.3 machines.. I installed nginx with php5.3 and other required stuff, everything is working. So I copied kayako files to: ...
0
votes
0answers
62 views

remoVirtual host doesn't work but ping works

I have a domain, let's say example.com, I also have configured subdomain dev.example.com. Now I want to create a new one subdomain sb1.example.com. I added it to /etc/hosts, created virtual host in ...
2
votes
1answer
462 views

CentOS 6 Apache Virtual Host Config Help for Development Server

I have setup a LAMP server with CentOS. It will be used as a development server within our domain. It is our first Linux server and would like to actually put one into production in the future. The ...
0
votes
2answers
578 views

Apache httpd.conf Only use SSL for subdomain and give 404 for other https URLs

I have a current configuration for my website mail client: NameVirtualHost *:443 <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/pki/tls/certs/ca.crt ...
0
votes
1answer
302 views

apache wont start when virtual hosts are defined

I have setup up virtualnamehosts on my server and I do not recieve any errors when starting apache but when I check to see if it has started it says: httpd dead but pid file exists thanks for the ...
1
vote
1answer
2k views

could not resolve host name while setting up namevirtualhost

I have been working on setting up namevirtualhosts on my centos 5 server. I have added all of the virtualhosts to my httpd.conf file and alos uncommented the namevirtualhost line.I also have my domain ...
9
votes
2answers
1k views

How to check CentOS 6 Server VM Host after a power falure?

This afternoon, someone at our office decided to pull the plug out of our server because it was storming outside. They didn't shut it down, they just pulled the plug out while it was running. The ...
2
votes
1answer
94 views

Apache Rewrite -> I am not sure why these rules dont work

I am running Apache, CentOS 6. I have a set of URL's that if they are hit, I want the user directed to the index.php I cannot figure out why these rules dont work. Can anyone explain? UPDATE: New ...
1
vote
1answer
726 views

Setting up SVN Server on CentOS as a Virtual Host

So, I've followed every tutorial I can find on Google and still can't get this to work. Below is the subversion.conf file I have in my conf.d folder of my server. LoadModule dav_svn_module ...
1
vote
2answers
2k views

Configuring CentOS Apache Server for IP Based VirtualHost?

I'm running CentOS 5.6 on my server with Apache. I need to create a "staging" site so that client can view the development in progress. I understand that this is done via Apache virtual host. Where ...
1
vote
1answer
70 views

CentOS Apache Virtual Host

Please how do I make sure that my i.p IP address have separate content than my domains. Anytime I visit my i.p address it keeps showing me the first entry in my virtual host file.
1
vote
2answers
1k views

apache virtual hosts - server not found for subdomain

I want to set up a subdomain using virtual hosts. I have altered the httpd.conf file as follows, but I get a "can't find server" error when I try to access the url. I'm running Centos 5.5. ...
0
votes
1answer
78 views

Sendmail virtual address

I'm trying to set up a new virtualuser with my Sendmail server. I've updated domaintable.db, generics-domains.db, sendmail.mc and restarted the sendmail process. Mail is being returned with the error ...
3
votes
2answers
258 views

All Requests Directed to one Virtual Host

I just installed Apache 2.2, and am trying to have two domains hosted on the same server configuration. I first created a Virtual Host (a.com), and debugged my configuration so that it was working. ...
3
votes
1answer
2k views

My VirtualHosts overlap and my NameVirtualHost has no VirtualHosts

I think that the question title pretty much says the problem. I'm getting these two errors when I restart httpd: [Wed Jun 22 13:39:23 2011] [warn] _default_ VirtualHost overlap on port 80, the first ...
0
votes
1answer
379 views

Need help with apache2 httpd.conf

Ok, the problem is presented like this: I have a single IP (123.123.123.123) I have multiple domains I work with subdomains for testing So basically I need to host www.example.com, ...
0
votes
3answers
523 views

Centos Virtual host loading default page

I have asked a question which was related to this but not same, I have a centos VPS, which has two wordpress websites, one is mbas.co.in and another is onlinemba123.com, now for virtual hosting using ...
0
votes
2answers
640 views

Virtual Host on centos

I started virtual host on my VPS, I am having two websites on it, one which was already there and the second which I trasferred now, But before changing the name-servers of the new transfered ...
0
votes
1answer
154 views

Virtual hosting all resolving to the same files

I'm trying to set up virtual hosts on my VPS (centos). I set both domain nameservers to fns1.dnspark.net and fns2.dnspark.net and set an A record there for each domain pointing to my IP address ...
0
votes
2answers
432 views

How do I create virtualhosts on CentOS 64bit server?

I have CentOS 64bit with Apache, where is the virtual hosts located so I can create a few vhosts, to setup multiple domains?
1
vote
3answers
1k views

Can't get port based virtual hosts working in Apache2.2 CentOS 5.2, Plesk 8.6

I have installed Google Sitemap Generator on my CentOS server, which is running plesk 8.6. Google Sitemap Generator adds an include to an external conf in my httpd.conf as follows: Listen 8181 ...
0
votes
1answer
83 views

How to setup a virtual domain name?

I have a centos machine, currently I could view website on /var/www/html site using 10.10.10.111, and would like to know how to setup a virtual domain name for a local instance, such that I could view ...
0
votes
1answer
2k views

Apache Virtual host Subdomains points to same directory

I have setup subdomains using Apache before and have never really ran into any big problems. But with this (I believe Centos) server that is one of my clients, I'm not understanding what I'm doing ...