Forums/Cloud Foundry Forums/Feature Requests

PlannedDoneNot planned

DNS support

Shane Witbeck
suggested this on April 12, 2011 15:47

I suspect map/unmap is the beginning but couldn't find docs on this feature.

 

Comments

User photo
Derek Collison

Currently we do not allow external URLs to be mapped to applications. We did demo this functionality with FunctionSource during the demo, so technically it is there and we will be exploring relationships with developers and users of the system in the interim on a case by case basis.

April 12, 2011 16:16
User photo
Chen Wang

Would be good to have this feature available asap, otherwise we'd likely to use cloudfoundry in development and testing but not in production, for the simple reason that we cannot use our own domain name or subdomains. 

April 20, 2011 20:31
User photo
Stiwi Gabriel Courage

Is there any documentation on how to use the external URLs feature on a local cloud foundry?

May 15, 2011 05:38
User photo
Derek Collison

There a two items you need to do for allowing external URIs.

 

1. Update the CloudController configuration..

allow_external_app_uris: true

# This dicatates what the uri namespace rules

# are for apps. Admins can overide any of the

# below accept taking a used uri.

app_uris:

  allow_external: true

2. Make sure their is a DNS entry that points the external hostname to the IP that is running nginx/router on port 80.

May 15, 2011 11:19
User photo
Federico Czerwinski

I'm sorry, but are you saying that I can't use an external URL to point to a deployed app in CloudFoundry ? 

what's the point then ? As Chen Wang said, we would not be able to use it as a production App.

Thanks.

May 17, 2011 07:21
User photo
Stiwi Gabriel Courage

I guess the point is for a developers to get familiar with CloudFoundry, without having to do any configuration them selfs.

To see how easy it is to use, deploy/un-deploy, upscale/downscale and to see how it works with your application. 

I you then want to use it for a production environment, you ether set it up your self, (trust me, it's so simple that you won't beleve it. And i mean, you won't beleve it) or by a CloudFoundry service at a hosting company... 

CloudFoundry.com is still en beta, so we should all take a deep breath, but i agree, that until we can use external url's, and smtp it can not be used for more than testing..

On the other hand, by releasing it in beta now, we are able to get to know CloudFoundry in it's new form, and we are able to create more implementations for frameworks which is yet to be supported.. :o)

Happy testing to all, and i think the new and improved CloudFoundry server is going to be great... :o) 

May 17, 2011 07:39
User photo
Federico Czerwinski

I know, I've got to know CloudFoundry, I definitely like it. But the fact that I can't use external URLs, is a big downsize for me. (yes, I understand it is still beta,, etc, etc, etc).

What I wonder is how the guys at FunctionSource  did it ? I certainly started my development on the fact that an external URL could be used, like FunctionSource did. But it's not until now, when I'm almost halfway done, that I find out it's not really possible to use external URLs.

I'm sorry, CF is great,  looks very promising, but this URL thing, makes me opt for other clouds instead.

Thank you


Fede.

May 17, 2011 07:55
User photo
Derek Collison

Federico,

 

We are glad you like Cloud Foundry, we will open up external URIs as soon as we can. We hope you come back when we are ready. You can set up a private instance of CF on your own that will allow them for now, but this is obviously up to you..

May 17, 2011 11:20
User photo
Michael Latta

External URL access is certainly a production requirement.  My understanding is that cloudfoundry.com is not primarily intended to be a production hosting offering.  There will be other providers like RackSpace and such that offer CF as an offering, and they certainly will offer external URLs.  If your time frame is not the immediate future I would still recommend using it.  You can always host it yourself on AWS until a monitored offering is available.  I would check with the vendors that are active in the community to see what their timeline is for production offerings.

May 18, 2011 13:08
User photo
Joe

Hi

+1 for the feature

i think that way we can make our application run in production which wil make you better test the platform and see how it will work in the real world with real applications instead of the helloworld apps currently developers are testing

no one will invest time if he cannot make his application to production

thanks 

Joe

July 04, 2011 17:42
User photo
Michael Chen

There may downside if open this feature, especially the operation team is not ready... I am just curious and have some question to ask, to both CF team and the beta users: 

  1. to CF team, is the hardware ready enough, to serve millions of requests for possible traffic when any heavy load production app is running?
  2. to beta users: are you ready to pay (I suspect it won't be totally free when you have thousands of requests per second) and how much you want to pay? 

My answer is,  I have very tiny app need external url support asap, I don't want to pay it now, however this foundation looks good, I wouldn't mind pay reasonable money if my app is scaling up. I have to pay Amazon several dollars a month anyway, and wouldn't mind give CF a try. 

July 07, 2011 05:23
User photo
James Seigel

+1 for this feature.

July 07, 2011 22:21
User photo
Sebastian Kurt

+1 for the feature and a new question. Is there a release plan or any schedule when CF will be avaiable "completly"?

July 21, 2011 05:54
User photo
Luc Russell

+1 for this feature.  If there is no schedule avaiable, can someone post a list of the vendors as mentioned by Michael Latta above?

August 02, 2011 08:56
User photo
Pierre-Alexandre Piarulli

+1 for this feature.

August 26, 2011 08:35
User photo
rayyildiz

+1 for this feature.

September 17, 2011 09:56
User photo
Shane Witbeck

It's been over 5 months since this (most popular) request. Can someone from CF give an update and/or possible timeline for this? Thanks!

September 23, 2011 12:27
User photo
Charles Lee
Cloud Foundry

This is great feedback, and we appreciate how emphatically everyone is endorsing this need.  There is validity in the comments in the thread.  Please know that this is at the top of the list for Cloud Foundry features, and we're eager to get this out to our users in the next few weeks.  Thanks for your patience.

Charles

September 26, 2011 10:30
User photo
Glenn Saqui

Is this feature coming by the end of October?  If it's not, I'm going to have to move my project onto another cloud service.

October 15, 2011 06:24
User photo
Raj Balakrishnan

An emphatic +1 for this feature

October 15, 2011 08:01
User photo
Gregor Petrin

+1

October 20, 2011 04:53
User photo
Charles Lee
Cloud Foundry

Unfortunately, no, this feature will not be available by the end of October.  We definitely understand the desire to have this and are working to be able to provide this feature in the future.

October 20, 2011 11:26
User photo
James Seigel

:(

October 20, 2011 12:26
User photo
Glenn Saqui

Charles,

 

In your post on September 26 you said this feature would be coming within the next couple of weeks.  How many more weeks are we looking at here?  Is this going to be in by the end of November/December/January?

October 20, 2011 13:06
User photo
Ponykama

+1 for this feature.

November 02, 2011 20:43
User photo
James Seigel

Quick question, is this something that you don't WANT to happen, or if someone could figure out a way to do it to their own satisfaction then you'd be okay with it...I always love problem solving!  SQUIRREL!

 

:D

November 04, 2011 21:45
User photo
Manuel Vergel

+1 please support this feature, thanks! So far, been very happy with CloudFoundry experience performance-wisse and ease of deployment.

November 16, 2011 21:52
User photo
Charles Lee
Cloud Foundry

Thanks for the responses.  Sorry, I don't have an update for you, and those few weeks are looking longer than I had expected.  At the moment it does not look like November/December will be feasible.  Rest assured that everyone on the team knows that this is the highest requested feature right now.

Charles

November 18, 2011 16:22
User photo
Allan Dixon

I thought I had an error with GoDaddy until I found this thread. Please make us all happy CF :)

November 18, 2011 16:29
User photo
James Seigel
Well since no one responded, I have a way of fronting CF with a proper DNs name using an external resource. Not ideal but allows to make the solution look a bit more presentable even for demos. If yer interested let me know. Cheers J
November 18, 2011 18:06
User photo
Allan Dixon

By all means James, share away. I initially thought of doing a static host with an iframe. send it on allandx [at] gmail .... much appreciated 

November 19, 2011 02:35
User photo
charles wan

+ 1 for this feature. without it, CF only good for development, not even for demo.

November 22, 2011 16:25
User photo
Manuel Vergel

Used the iframe approach in my personal site http://www.mvergel.com , hosted at Google app engine with my cloud foundry site iframe-ed. Any alternative?

November 23, 2011 10:40
User photo
James Seigel

For more pretty demos I have used an HAProxy instance in front of the CF hosted site with some tweaks.  It works quite well if configured right, still I want a fully supported CF solution, and some way of paying for more resource :D

PUHHHHHLEEEEZE

November 23, 2011 10:56
User photo
Manuel Vergel

James, thank you for the idea. I made quick tutorial in http://programming.mvergel.com/2011/11/cloud-foundry-and-custom-domain.html

In summary, you can use GAE and BS2 GAE Reverse Proxy (it's very easy). I switched to this approach, and so far so good. Much better than the lousy iframe.

November 23, 2011 18:49
User photo
James Seigel

No worries.  I am impressed that a GAE Reverse proxy worked so well.   I had to wrangle some headers with haproxy to make it work.

November 24, 2011 07:47
User photo
James Seigel

No worries.  I am impressed that a GAE Reverse proxy worked so well.   I had to wrangle some headers with haproxy to make it work.

November 24, 2011 07:48
User photo
James Seigel

...grr double post, sorry folks.

November 24, 2011 07:49
User photo
Florian Chazal

Hi James,

Could you share your HAProxy configuration?

Thanks

Cheers

November 28, 2011 01:38
User photo
Eric Case

+1 for this.

December 27, 2011 17:14
User photo
vaclav balak

+1

December 28, 2011 01:39
User photo
ahamed muqthar

suggested reverse proxy things working good but are only temporary solutions ..

we need this official support from CF

+1 for this..

January 08, 2012 09:15
User photo
Glenn Saqui

Any idea when this is coming?  Can someone from Cloud Foundry please comment on what is holding this feature up?

January 12, 2012 05:08
User photo
Yuan Ji

+1. Any progress?

January 19, 2012 13:35
User photo
Mark Lucovsky
Cloud Foundry

The feature is coming "soon", but its complicated...

We are tying this feature to some other operational collaboration needs. I.e. if two people are working in support of a production app, either one should be able to vmc update the production app without having to share password, etc. Custom domains fall under this problem space in that what we are trying to support is to ability to bind wildcard domains to one of these spaces. E.g., *.foo.com. Once this has happened, you can subdivide off of this so that vmc push app1 and vmc push app2 can appear at a app1.foo.com and app2.foo.com.

The issue for us is that when people are asking for the custom domain feature, we hear this load and clear, BUT what we are hearing is the broader request. That you guys are looking to run production apps on Cloud Foundry. We think that delivering on this capability is more than just providing support for custom domains. It also includes the operational collaboration feature. It includes an ability to have a larger quota, it includes additional features on our services, etc. Delivering on this is our current focus and over the next few weeks, you will start to see the foundation for this landing in the codebase and in the live service.

January 19, 2012 14:08
User photo
Shair Khan

+1

January 21, 2012 19:15
User photo
Amit Kumar

Thanks for the update Mark. With the great node.js support you guys have, I'd really prefer to use CloudFoundry over any other service. Been waiting on the custom domain feature for a couple months...I'm not going to be releasing to production for about 2 months, but it would be extremely useful to have this feature available as soon as possible. 

February 04, 2012 16:44
User photo
David Trattnig

+1

February 12, 2012 17:33
User photo
Thomas Z.

Does that mean we can't do private cloud ?

February 13, 2012 09:21
User photo
Mark Lucovsky
Cloud Foundry

zizi, this has nothing to do with "private cloud" and won't impact your ability to deploy cloud foundry as you do today.

February 13, 2012 09:25
User photo
13

+1

March 28, 2012 02:52
User photo
Sudarshan

Any timelines decided as when this feature will be up ?


April 02, 2012 11:39
User photo
Sebastian C

Hi there... I tried to do the Mannys way to get my own URL to point to the cloudfoundry url... and I make it work. My problem is that ma webapp is putting the jsessionid in hte url so, all the links are broken when I enter throw the www.something.com url. can someone help me please!!!!

Its very urgent!

April 13, 2012 15:41
User photo
Sebastian C

I think I found the problem, is an encoding problem.... when I enter to the custom url www.some.com the Tomcat server on the cloud foundry generates the jsessionid variable on the url. Like this --> http://www.some.com/login.html;jsessionid=94B514CC3052E86CBB3492ADD...

But in the page you can see an error like this -->

HTTP Status 404 - /login.html%3Bjsessionid%3D94B514CC3052E86CBB3492ADD0D33053

type Status report

message /login.html%3Bjsessionid%3D94B514CC3052E86CBB3492ADD0D33053

description The requested resource (/login.html%3Bjsessionid%3D94B514CC3052E86CBB3492ADD0D33053) is not available.
Apache Tomcat/6.0.35

So, do you have any idea how is the ; and / changing on GAE proxy? how I change the encoding on the GAE?

April 17, 2012 16:07
User photo
Edi

+1 

Any details regarding when this feature is scheduled to be released?

May 04, 2012 09:56
User photo
Rob Mitchell

Hello all,  is this still an issue?  I have been able to configure CF to respond correctly and internally to *.mycompany.com (api.mycompany.com and <app>.mycompany.com).  If you'd like I can post how I did it (given my boss' ok).   What I haven't been able to do (and I haven't dug through the code yet) is configure it for a subdomain.  I'd like to be able to do *.cf.mycompany.com

May 04, 2012 14:29
User photo
Edi

@Rob Mitchell

Just to be clear, I would like to see how a www.mydomain.com can be bound to app.cloudfoundry.com (not to a locally running Micro CF)

May 05, 2012 07:45
User photo
Rob Mitchell

misunderstood - sorry....

May 07, 2012 06:42