Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache domain alias

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Apache - Alias - hey:), Problem in So, I have 2 (or more) outside of htdocs tree, for example: how can i obtain listing like that after request Index of /dirs Name ..

Apache and alias, forbidden - Hi all, i'm a newbie and i need a little help. I installed a Mandrake 10 server and i'd like to add a new directory where to put my websites, e.g. So, i added an alias in the default server defined as:

Apache (win32) - Alias [?] - hey:), Problem in So, I have 2 (or more) outside of htdocs tree, for example: how can i obtain listing like that after request Index of /dirs Name ..

Virtual host? Alias? Linux/Windows/Apache dev servers prob.. - I'm a bunch of websites in etc. (I love the syntactic ;-). I have two dev servers: an XP/IIS box for and a box for PHP, both behind a router sharing files. Currently I must port..

apache not recieving for particular domain. - I have a number of domain names pointing to my All of which use the same virtual host with host *>. One of them has stopped any html and it appears is not being recieved by the I can't for the life of me figure..
Next:  two vhost problem  
Author Message
misiek

External


Since: Feb 01, 2006
Posts: 8



(Msg. 1) Posted: Tue Feb 14, 2006 1:47 pm
Post subject: apache domain alias
Archived from groups: alt>apache>configuration (more info?)

OK thank for help for set up the vhosts it started works
there is a problem with alias
when i type with a browser
www.firstdomain.com is ok
firstdomain.com is ok because I put ServerAlias availablezone.com

but

when i type

www.seconddomain.com is ok
seconddomain.com is ok
when I type

ddd.seconddomain.com is going to firstdomain.com so what i the problem
?????

 >> Stay informed about: apache domain alias 
Back to top
Login to vote
Robert Ionescu

External


Since: Jan 19, 2006
Posts: 142



(Msg. 2) Posted: Tue Feb 14, 2006 3:55 pm
Post subject: Re: apache domain alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

misiek wrote:
> ddd.seconddomain.com is going to firstdomain.com so what i the problem

No ServerName/ServerAlias did match, so the request goes into the 1st
virtualhost, which is the default virtualhost for name-based
virtualhosts. So I would recommend using something like

NameVirtualHost IP:80

<virtualhost IP:80>
ServerName somethingnonexistant
</virtualhost>

<virtualhost IP:80>
ServerName domain1
</virtualhost>

<virtualhost IP:80>
ServerName domain2
</virtualhost>

while you serve an error page for the 1st virtualhost.

--
Robert

 >> Stay informed about: apache domain alias 
Back to top
Login to vote
misiek

External


Since: Feb 01, 2006
Posts: 8



(Msg. 3) Posted: Tue Feb 14, 2006 3:55 pm
Post subject: Re: apache domain alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Robert Ionescu wrote:
> misiek wrote:
>
>> ddd.seconddomain.com is going to firstdomain.com so what i the problem
>
>
> No ServerName/ServerAlias did match, so the request goes into the 1st
> virtualhost, which is the default virtualhost for name-based
> virtualhosts. So I would recommend using something like
>
> NameVirtualHost IP:80
>
> <virtualhost IP:80>
> ServerName somethingnonexistant
> </virtualhost>
>
> <virtualhost IP:80>
> ServerName domain1
> </virtualhost>
>
> <virtualhost IP:80>
> ServerName domain2
> </virtualhost>
>
> while you serve an error page for the 1st virtualhost.
>


I don not have default vhost
just two vhost so ??
 >> Stay informed about: apache domain alias 
Back to top
Login to vote
Robert Ionescu

External


Since: Jan 19, 2006
Posts: 142



(Msg. 4) Posted: Tue Feb 14, 2006 4:55 pm
Post subject: Re: apache domain alias [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

misiek wrote:
> I don not have default vhost
> just two vhost so ??

Well, this is only a dummy for requests not matching the 2nd or 3rd
virtualhost, so just add a virtualhost above your two existing ones.

--
Robert
 >> Stay informed about: apache domain alias 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]