Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 1st November 2005, 17:29
rosa hsiao rosa hsiao is offline
Join Date: Oct 2005
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post
Default DNS issue and user's alias problem

Everything seemed to be OK BEFORE I Installed ISPConfig:

My domain name is test1.com. Originally I used /etc/httpd/conf/httpd.conf to define a website:
ServerName www.tabxx1.com :80
DocumentRoot /var/www/html
<VirtualHost 203.xxx.xxx.xxx:80>
ServerName www.stkxx1.com :80
DocumentRoot /home/~user/public

DNS server at dns.tabxx1.com had already setup without fail.

AFTER I installed ISPConfig,I used DNS Manager in ISPConfig to create 2 master DNS for both tabxx1.com and stkxx1.com, then related A record such as:

mater DNS SOA: dns.tabxx1.com
203.xxx.xxx.xxx dns.tabxx1.com
203.xxx.xxx.xxx www.tabxx1.com
203.xxx.xxx.xxx mail.tabxx1.com

mater DNS SOA: dns.tabxx1.com
203.xxx.xxx.xxx www.stkxx1.com
203.xxx.xxx.xxx mail.stkxx1.com

And I have created a client "Stock1" and a web site at "www.stkxx1.com".
administraor of this site is called "web1_abc".

Here are my problems:

1) the original DocumentRoot of www.tabxx1.com had been changed from /var/www/html to /home/www/web.

2) If I copy the original webpages from /var/www/html to /home/www/web, both http://www.tabxx1.com and http://www.stkxx1.com will display the same homepage-index.htm.

How can I use /var/www/html as DocumentRoot of www.tabxx1.com and use /home/www/user/web1_abc/web as DocumentRoot of www.stkxx1.com?

3)I have tried to forward http://www.stkxx1.com to http://www.tabxx1.com.tw/~web1_abc, but the following error occured:
"The domain forward contained invalid signs and has therefore been deleted."

There must be something wrong with my DNS settings in ISPConfig. I didn't setup any CNAME in DNS Manager. Does it matter? I am not using any router right now. Can anyone of you may point out what I should do to correct the error?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP access problem... ctroyp General 7 12th October 2005 18:07

All times are GMT +2. The time now is 15:39.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.