Testing websites/domains on local network

Discussion in 'Installation/Configuration' started by kmullen, Oct 30, 2010.

  1. kmullen

    kmullen New Member

    Little help please.

    I crashed my Ispconfig 2 server during upgrade.

    Built new server with Ispconfig 3 perfect server Ubuntu 10.10

    Moved created all domains and dns records on new server and moved all webfiles.

    I want to be able to test all domains and sites on server before deploying.

    Changed DNS on interface to use Ispconfig as dns server.

    I am not able to access the websites using their domain name. I am also not able to ping sites by domain name.

    What do I have to do to fully test server before going live?
     
  2. jtheed

    jtheed Member


    If you are using a Windoze machine as the client, you can always edit the windows/system32/drivers/etc/hosts file and by just putting in the address of your server 192.168.0.1 www.domainname.com you can access it like your on the internet.
     
  3. mini14

    mini14 Member

    Or edit your DNS servers in the network settings on your Win machine ---put the local IP of your server in there as the primary DNS server. When done, swap it back.
     
  4. ivomendonca

    ivomendonca Banned

    Add to :
    windows/system32/drivers/etc/hosts

    ns1.mysite.local local_ip

    and dns to network settings.
     
  5. kmullen

    kmullen New Member

    Success

    Thanks for the answers.

    I changed my dns servers to point to the ISPConfig box, and had IPSCONFIG setup as dns server. This didn't work.

    However, modifying the host file on my Win7 machine did work and I was able to test all my sites successfully. Thank you all for your help. New box on the network.
     
  6. tbctr

    tbctr Member

    Centos 5.5 + ISPConfig 3

    Centos 5.5 + ISPConfig 3 installed.
    I have the same problem. Local network access ISPConfig control panel no problem, added website but local network not access added web site. host file added ip, address - dns ip added server ip but not access added web site.
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Does the DNS record of the domain point to your server's public IP? Does your router support loopbacks? Also make sure that your ISP doesn't block port 80.
     
  8. tbctr

    tbctr Member

    Server local ip : 192.168.1.250
    ISPConfig admin page access ok.
    http://192.168.1.250 Apache2 test page ok

    ISPConfig added dns and website, my local network not access website.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Make sure that you selected the correct IP address in the website settings. If the ip is not in the list, then add it under system > server ip.
     

Share This Page