|
Home > Archive > Apache Server configuration support > August 2007 > Host Headers
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi,
I've just moved a helpdesk application from IIS across to a CentOS
server. We used to call the page using a DNS name that I had
configured in IIS using the Host Header and set that via the DNS on
SBS 2003.
I was wondering where I add the Host Header in Apache so I can do the
same?
Am a bit new to all this 
Thanks for any replies.
| |
| Davide Bianchi 2007-08-31, 7:18 am |
| On 2007-08-31, Moif <moifmurphy@googlemail.com> wrote:
> I was wondering where I add the Host Header in Apache so I can do the
> same?
As long as the server name is resolved to the Apache's server machine
there should be non need to change anything. If you want to be
super-safe, just assign the server name to the machine by adding it
to /etc/hosts
Davide
--
Linux: Because rebooting is for adding new hardware
| |
| SartDameAveline 2007-08-31, 7:18 am |
| On 31 ao=FBt, 12:53, Moif <moifmur...@googlemail.com> wrote:
> Hi,
>
> I've just moved a helpdesk application from IIS across to a CentOS
> server. We used to call the page using a DNS name that I had
> configured in IIS using the Host Header and set that via the DNS on
> SBS 2003.
>
> I was wondering where I add the Host Header in Apache so I can do the
> same?
>
> Am a bit new to all this 
>
> Thanks for any replies.
Look at virtual host in httpd.conf ( or in <webdir>/conf/extra/
virtualhost.con if you are using apache.2.2.xx )
There is some explanation about named virtual host
I suggest youbuy the exellent O'reilly book on Apache.
SartDameAveline
|
|
|
|
|