?
Solved

Apache 2 folder url direction

Posted on 2012-03-21
1
Medium Priority
?
195 Views
Last Modified: 2012-03-25
I have apache2 installed and in my config I have the following.


<VirtualHost *:80>
   DocumentRoot "/home/abcx/public_html/uploads/"
   ServerName www.abc.com
   ServerAlias abc.com
</VirtualHost>


I want to point instead of www. I want to use uploads.abc.com  When I do this it points to the default install of the apache which is in /var/www/ and not point the site to the document root above.

What do I have to do to use the uploads.abc.com and point to the document root above?
0
Comment
Question by:ITCity
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
larsrohr earned 1000 total points
ID: 37751037
You can list multiple ServerAlias names, e.g.
  ServerAlias abc.com uploads.abc.com
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question