3

Every time I launch the Azure emulator, it points to http://127.0.0.1. This doesn't work for me because I use Facebook log in, which doesn't support numbers. So what I've done is this:

  • I set 'mydomain.com' as my domain for my Facebook app. I set dev.mydomain.com as the return URL for the app.
  • I created a record in my HOST file, pointing 127.0.0.1 to dev.mydomain.com (according to Azure emulator web site is not visible by Facebook).
  • I updated my Web role project to use http://localhost with a application root URL override to http://dev.mydomain.com, and I created a virtual directory for that. I also set the start URL for the project to http://dev.mydomain.com.
  • I edited %USERPROFILE%\My Documents\IISExpress\config\applicationhost.config to use *:80:dev.mydomain.com (according to Using Custom Domains With IIS Express).

So I'd say I have everything in place to make this work. But every time I start the Azure emulator, it launches http://127.0.0.1. How do I make it launch http://dev.mydomain.com instead?

Anyone?

Community
  • 1
  • 1
Leon Cullens
  • 12,276
  • 10
  • 51
  • 85
  • Are you just asking how to get the browser to open with a different URL? Why don't you just type in `dev.mydomain.com` after the browser opens? – user94559 Nov 11 '12 at 22:01
  • That's a possibility, but it's highly annoying, I just want it to start at dev.mydomain.com. – Leon Cullens Nov 11 '12 at 22:05
  • You might want to edit your question, then... there are a lot of irrelevant details, like how you configured Facebook and your hosts file. I'd suggest simply "Is it possible to have the Windows Azure emulator open the browser to a URL other than 127.0.0.1?" I believe the answer is "no," but I'm not 100% sure. – user94559 Nov 11 '12 at 22:10
  • Well, I'm not sure if it has any other implications than just the URL it is launched at. It seems to be working if I manually enter another URL, but I'm haven't tested it thoroughly. – Leon Cullens Nov 11 '12 at 22:26

0 Answers0