DNS problem of local webserver and domain piont to the ip RRS feed

  • 問題

  • i have this on my httpd-vhosts

    NameVirtualHost *:80

    <VirtualHost *:80>
    ServerName localhost
    DocumentRoot "C:/Program Files/xampp/htdocs"

    <VirtualHost *:80>
    ServerName adex-hk.com
    ServerAlias www.adex-hk.com
    ServerAdmin webmaster@adex-hk.com
    DocumentRoot "C:/Program Files/xampp/htdocs/Public/myweb/"
    ErrorLog logs/adex-hk.com-error.log
    CustomLog logs/adex-hk.com-access.log common
    LogLevel error

    <VirtualHost *:80>
    ServerName site1.loc
    ServerAlias www.site1.loc
    ServerAdmin webmaster@site1.com
    DocumentRoot "C:/Program Files/xampp/htdocs/Public/myweb/site1/"
    ErrorLog logs/site1.com-error.log
    CustomLog logs/site1.com-access.log common
    LogLevel error

    I also have this on my host file localhost adex-hk.com site1.loc

    How can i set the xampp and the windows 2003 server of DNS properly in order
    for the domain let say easternpearlonline.com able to point to site1.loc with the attached image of
    windows DNS setting and name server setting and www setting and mail setting. Is there anything
    wrong of my domain ie. easternpearlonline.com that i defined on DNS was unable for the domain
    of godday to point to the windows server with fixed IP address:

    The following three pictures URL is my current status and setting on windows DNS.msc
    Please help.
    My email: garywong@skywalk-ent.com


    2009年3月17日 上午 05:41


  • If you need 3 port 80 Web Site to be running in one server, you need to have at least 3 LAN card.

    You may also try to apply 3 difference port for each Web Site if you only have one LAN card.
    大家一齊探討、學習和研究,謝謝! Microsoft MVP, Microsoft Community Star(TW & HK), MCT, MCSD, MCAD, MCSE+I, MCDBA, MCDST, MCSA, MCTS, MCITP
    2009年3月19日 上午 05:42