Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have done AAM for my SharePoint 2010 site. There is no issue in that.What I am doing is, I have a feature with feature receiver that reads the site url (SPWeb.Url) and store that url in a custom list.Basically assigning navigation url to my site items dynamically that is read from a custom list. Obviously the url read by SPWeb object is the url with AAM. As long as I am on my VM it is able to resolve the url correctly. The problem arises when I try to access my site contents from out side the VM because the navigation url is (AAM). How should I take on this? Anything to change with AAM?

Here is my AAM configuration

In IIS I have added a binding with host name on port 80.

In my Central Admin I have configured my site to use the same host name.

Hope I am clear on the problem.If not please ask.

share|improve this question

1 Answer 1

Did you remember to set up DNS or modify your host file with the server address?

share|improve this answer
    
Thanks for a quick reply.I doubt not. I need to check this. How this helps in resolving internal url and how should I proceed with it? –  V.B Sep 26 '12 at 6:42
1  
You are welcome. It is a bit difficult without knowing your setup. If you have a DNS infrastructure just add a new record that points to your server. For local testing you can add an entry to c:\windows\system32\drivers\etc\hosts in the format shown in the file. –  fraabye Sep 26 '12 at 6:48
    
Thanks for the help. I'll try this on my production server. –  V.B Sep 26 '12 at 7:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.