Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How do I set up virtual subdomains? |
|
Author |
|
jasontheadams
Joined: 09 Feb 2014 Posts: 9 Location: United States, Detroit
|
Posted: Mon 10 Feb '14 19:23 Post subject: How do I set up virtual subdomains? |
|
|
I'm using the following vhost script: http://pastebin.com/rb8BPKh6
This used to work on an older version of apache in Windows. Now I'm running Apache 2.4.6 on Ubuntu 12.04.
When I type in, for example, dhae.papertower.dev, it processes some scripts internally and moves me to www.dhae.papertower.dev.. and breaks. When I check my log, I find that it's trying to go to the /var/www/papertower/www directory. When I look at my config this makes sense, but I'm not sure how to fix this.
I tried adding www.*.papertower.dev to the ServerAlias, but that didn't do it.
Any ideas, please? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|