Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

can't get host header site working

Options
  • 30-11-2011 6:24pm
    #1
    Registered Users Posts: 1,002 ✭✭✭


    I have a Virtual Server running on VirtualBox.
    • Windows Server 2008 R2
    • IIS 7.5
    • App and Web server
    • AD Domain Services
    • DNS server
    Settings:
    • Computer name: SP2010Server
    • Full name: SP2010Server.SPLab.local
    • Domain: SPLab.local
    • IP4 Address: 192.168.56.2
    Via IE I can successfully get to local web sites (all at port 80):
    I've created a website in IIS with these bindings:
    • host header: mysites.splab.local
    • port: 80
    • ip address: 192.168.56.2

    IE says it cannot display the webpage. Am I missing a step. Do I need to register the host header with the DNS server? :confused:

    It works if I add the url to the HOSTS file on the VM and the host machine
    192.168.56.2 mysites.splab.local


Comments

  • Registered Users Posts: 8,813 ✭✭✭BaconZombie


    Have you added mysites.splab.local to your DNS Server?

    Also what is the output from:
    
     nslookup mysites.splab.local
    
    


  • Registered Users Posts: 1,002 ✭✭✭MargeS


    Hi BaconZombie
    When I do NSLookup, I get:

    > nslookup mysites.splab.local
    Server: mysites.splab.local.SPLab.local
    Address: 192.168.56.2

    *** mysites.splab.local can't find nslookup: Non-existent domain


    I added mysites.splab.local as a Record A to my DNS server


  • Registered Users Posts: 1,002 ✭✭✭MargeS


    OK, I added this as a new domain in DNS and it works. But I thought it was supposed to be a A Record or CNAME. So maybe my Domain is setup incorrectly. More reading to do I guess....


Advertisement