I apologize if this has been asked before, but I've looked at a number of questions here and none of them seem to answer my question.
I have a series of domains all pointing to my server.
I am struggling with this all the day, no answer i found here as well.
Please advice how to setup proper a subdomain i need.
My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain.
Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).
<VirtualHost 11.11.11.11:80>
ServerName domain1.com
ServerAlias do
I've finally made the switch to Lion but I'm having trouble setting up an Apache VirtualHost.
I have added sub.example.com as a new A record in my DNS manager, and created the virtual host file:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
ServerName sub.example.com
ServerAlias sub.example.com
DocumentRoot /srv/www/sub.example.com/public_html/
ErrorLog /srv/www/sub.example.com/logs/error.log
CustomLog /srv/www/sub.example.com/logs/access.log combined
I have a virtual sever which I would like to point two domains to, both pointing to different sites.
For example, example1.com goes to /var/www/example1.
I currently have WAMPSERVER 2.2 set up on my PC.
I'm trying to set up a new host called pplocal.local
I made the changes in httpd.conf to uncomment this:
Include conf/extra/httpd-vhosts.conf
Then, I edited httpd-vhosts.cong and I added the following:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "E:/wamp2/www/"
ServerName localhost
</VirtualHost>
<Virtu
Hi everybody. Currently I has problem with my configuration Apache: setup 2 CA for 2 domain following VirtualHost, there not match
Apache 2.2.14
OpenSSL 0.9.8e-12.el5
Problem:
_https://site1.com browser notice SSL with info CA is site1.com
_https://site2.com browser does not match SSL CA site2.com, only show CA of site1.com
I'm getting a HTTP 403, with permission error 13 (file system?) using Apache (bundled with Zend Server) on OS X 10.7.4.
[Thu May 17 16:40:58 2012] [error] [client ::1] (13)Permission denied: access to / denied
Here's my config in httpd-vhosts.conf
<VirtualHost *:81>
DocumentRoot "/Users/shamil/Documents/Sites/shamil_blog"
ServerName blog.shamil.local
ServerAlias blog.shamil.local
I am trying to running two different projects in my web server. I want them to be pointed by different domain.