Knowledgebase: Technical
Host Headers
Posted by - NA - on 23 August 2006 01:59 AM
We have a client with an existing website hosted in another location. He has uploaded the files to our webserver. He now wants to test the domain. However, since the domain is still pointed to the old location, we decided to create a dns to point to the hosted materials.

For example:

Actual domain is (resolves to
Test dns is (resolves to

How do we map host headers so that OUR webserver will accept request for as well?

As per source,

I've taken the following steps:


I created an A record to point to the IP address of the webserver (for example: resolves to

Log in via SSH to and create a file at /home/httpd/vhosts/
(using vi vhost.conf)
and it contains the following text, nothing more:

[esc] :x (to save)

On the command prompt:
/usr/local/psa/admin/bin/websrvmng -a -v

I rebooted the machine via the command:
Shutdown -r now
(1043 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
Help Desk Software by Kayako Fusion