testing web site by its external ip address

Discussion in 'General' started by rosa hsiao, Dec 5, 2005.

  1. rosa hsiao

    rosa hsiao New Member

    1) I can visit user's web site by typing

    "http://203.79.xxx.xxx/users/web07_user01"
    or
    "http://203.79.xxx.xxx/~web07_user01"

    But, why can't I visit its virtual web site by typing

    "http://203.79.xxx.xxx/web/web07/web"
    or
    "http://203.79.xxx.xxx/web/www.virtualdomain07.com"?


    2) In DNS Manager of ISPConfig, the hostname is www and SOA is example.com, IP Address is pointed to external IP at 203.79.xxx.xxx.

    If www.example.com is acting as DNS server for virtual web site www.example2.com,do I need to put example.com as SOA instead of example2.com?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Because ISPConfig has no rules for mod_rewrite for these access scenarios. You can add custom rewrite rules in the apache directives field.
     
  3. rosa hsiao

    rosa hsiao New Member

    I am not quite familiar with Apache directives. Can you tell me how to rewrite the rules to achieve the above goal by typing:

    "http://203.79.xxx.xxx/web/web07/web"
    or
    "http://203.79.xxx.xxx/web/www.virtualdomain07.com"?


    I just want to test that the newly created virtual web site and its users' webmails at www.virtualdomain07.com are ok before I move the virtualdomain07 from another external IP to 203.79.xxx.xxx.

    "http://203.79.xxx.xxx/web/web07/web"
    or
    "http://203.79.xxx.xxx/web/www.virtualdomain07.com"?
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. rosa hsiao

    rosa hsiao New Member

    Because www.example.com is an active web site now and assigned to another IP address at 203.79.xxx.101. I am planing to move all virtual web sites from 203.79.xxx.101 to 203.79.xxx.102 which can be fully controled by ISPConfig. Now I have setup ISPConfig successfully and created DNS records for www.example.com at 203.79.xxx.102. Everything seems to be OK in INTRANET.

    I just want to test from remote computer via INTERNET to see if the site www.example.com at 203.79.xxx.102 will be running OK before I change its DNS Server to 203.79.xxx.102.
     
  6. gmg

    gmg New Member

    I really would like an answer to this question myself.
    Is there anyway to preview a website before the dns propagates.

    I'm in the middle of a server move and there are a few of the sites with scripts that I would like to make sure are working before I point the domains to the new server.
     
  7. falko

    falko Super Moderator Howtoforge Staff

  8. disasm

    disasm New Member

    not sure if this is the recommended way to do it, but I edit my resolv.conf (or if on windows change domain server) to be my server, rather than my isp's servers. This forces it to ask my ispconfig server what domains map to what ip addresses.
     
  9. heftigrat

    heftigrat New Member

  10. falko

    falko Super Moderator Howtoforge Staff

    This doesn't help you if you're on a client machine and want to access the server. You have to do the changes on the client, not the server.
     

Share This Page