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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

can't get host header site working

  • 30-11-2011 5:24pm
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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, Registered Users 2 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