|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Multiple Domains
Hy-
I have a question... mydomain.com mydomain.de mydomain.at all serve the same Website. I created 3 name based virtual hosts with the same doc root. I was wondering if there is a better solution (performance) for this, or if what I did by making 3 identical vhosts - one for each domain - was the right thing to do. Thanks for your help! best regards Sheriff ![]()
__________________
There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. God is just hacker who rooted the world! |
|
#2
|
|||
|
|||
|
>> all serve the same Website
Then start here -> http://httpd.apache.org/docs/mod/core.html#serveralias Example: ServerName www.mydomain.com ServerAlias mydomain.com www.mydomain.de mydomain.de www.mydomain.at mydomain.at |
|
#3
|
||||
|
||||
|
Thanks! I red this part of the manual as well. I just wasn't sure if it was what I was looking for. Sounded to me like they only ment
sub.mydomain.at sub2.mydomain.at but then again, those would point to the same docroot anyways... confusing for a newbie... best regards Sheriff |
|
#4
|
|||
|
|||
|
>> but then again, those would point to the same docroot anyways
Yes, unless you wanted it the other way around. Say you don't specify a dedicated <VirtualHost> block for sub.mydomain.at, the default docroot will be used. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Multiple Domains |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|