Ok so no matter how many times i try i always seem to have an issue with sharepoint and access mappings.
I was working through a demo to try and install SharePoint Server 2010 which i have been successful in doing.
My site collection was accessible using the following URL http://192.168.0.18/sites/demosite
however the demo then said we were going to change some things. so i needed to login into IIS and change the binding so that the site looked at http://portal.domain.com
(domain being my demo domain) and then we needed to change the default alternate access mapping for the site so that the sharepoint -80 (default Zone site now looks at http://portal
Also a arecord was created on my DC to point portal.mydomain.local to the server in question.
I have tested that i can access the server by RDP ing to the addres sportal and it is all good.
anyway when i try to connect to my site by using http://portal
i get the following HTTP 404 not found (Site not found page.
even if i try to use http://portal/sites/demosite
i get the same