Toriq Pria Dhigfora
Toriq Pria Dhigfora

Reputation: 79

Cloud Foundry On Azure VM

I've successfully installed VCAP on my ubuntu 12.04 on azure . Now I plan to access it on public .

Information about it is :

DNS : meruvian354.cloudapp.net

HOST NAME : meruvian354

PUBLIC VIRTUAL IP ADDRESS (VIP) : 168.62.193.163

INTERNAL IP ADDRESS : 10.76.198.28

My target is generate automaticaly domain "myapp".meruvian354.cloudapp.net and vcap on make it online.

How do I have to set it on cloud_controller.yml ? and Do I have to set configuration on

Upvotes: 0

Views: 323

Answers (1)

Dan Higham
Dan Higham

Reputation: 3984

You need a wildcard domain pointing at the public IP address, I can see you have meruvian354.cloudapp.net registered as the api url for the cloud controller as I was able to register an account!

If you registered mydomain.com you would have to create a wildcarded "A" domain record for that domain and point it to the public IP address. You would then need to either create a new deployment using the -D option to specify the new domain or adjust the configuration of the current deployment using a tool like sed, see this question for another example;

cloudfoundry - vmc register error with external uri

Upvotes: 2

Related Questions