How to change URL of Pivotal Cloud Foundry web applicationHow do we control web page caching, across all browsers?Custom service connector for DB2 service in pivotal cloud foundryPivotal Cloud Foundry - Security CertificatesIssues for launch one-shot task in Cloud Foundry v2Pivotal Cloud Foundry - Application Loggingcloud foundry dependency jars for spring bootConfigure Godaddy DNS with Cloud FoundryDeploying spring-boot Backbone application into Pivotal Cloud FoundryCan I remotely debug an ASP.net application hosted on pivotal cloud foundry?Pivotal Cloud Foundry Plus MySql DB

A conjectural trigonometric identity

If the Moon were impacted by a suitably sized meteor, how long would it take to impact the Earth?

Why don't short runways use ramps for takeoff?

How do Canadians get a visa to go to Saudi Arabia?

Can birds evolve without trees?

IBM mainframe classic executable file formats

Why have both: BJT and FET transistors on IC output?

Can living where magnetic ore is abundant provide any protection from cosmic radiation?

Adding a (stair/baby) gate without facing walls

Why are sugars in whole fruits not digested the same way sugars in juice are?

Why are prop blades not shaped like household fan blades?

Is there anyway to harden soft braised carrots?

Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?

Has the US government provided details on plans to deal with AIDS and childhood cancer?

Difference between HCD and CID collision induced dissociations?

"DDoouubbllee ssppeeaakk!!"

How did Biff return to 2015 from 1955 without a lightning strike?

Disease transmitted by postage stamps

Password management for kids - what's a good way to start?

Russian pronunciation of /etc (a directory)

The Enigma Machine (CLI) in Java

Skipping same old introductions

Novel - Accidental exploration ship, broadcasts a TV show to let people know what they find

How to crop this photo of water drops on a leaf to improve the composition?



How to change URL of Pivotal Cloud Foundry web application


How do we control web page caching, across all browsers?Custom service connector for DB2 service in pivotal cloud foundryPivotal Cloud Foundry - Security CertificatesIssues for launch one-shot task in Cloud Foundry v2Pivotal Cloud Foundry - Application Loggingcloud foundry dependency jars for spring bootConfigure Godaddy DNS with Cloud FoundryDeploying spring-boot Backbone application into Pivotal Cloud FoundryCan I remotely debug an ASP.net application hosted on pivotal cloud foundry?Pivotal Cloud Foundry Plus MySql DB






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have just pushed a Spring Boot / VueJS application to Pivotal Cloud Foundry and was wondering how I change the URL for the website?



When I pushed the application they gave me a URL of http://crdeckhelper.cfapps.io/



I went to godaddy and bought a domain of crwardecks.com



How do I make my application run on crwardecks.com?



I currently have godaddy re-routing the person to the URL that cloud foundry generated for me, but this is not the behavior that I want.



I have read the documentation on Pivotal but for some reason it confuses me. I have also searched for this on the web but wasn't able to find a good resource.










share|improve this question






























    0















    I have just pushed a Spring Boot / VueJS application to Pivotal Cloud Foundry and was wondering how I change the URL for the website?



    When I pushed the application they gave me a URL of http://crdeckhelper.cfapps.io/



    I went to godaddy and bought a domain of crwardecks.com



    How do I make my application run on crwardecks.com?



    I currently have godaddy re-routing the person to the URL that cloud foundry generated for me, but this is not the behavior that I want.



    I have read the documentation on Pivotal but for some reason it confuses me. I have also searched for this on the web but wasn't able to find a good resource.










    share|improve this question


























      0












      0








      0








      I have just pushed a Spring Boot / VueJS application to Pivotal Cloud Foundry and was wondering how I change the URL for the website?



      When I pushed the application they gave me a URL of http://crdeckhelper.cfapps.io/



      I went to godaddy and bought a domain of crwardecks.com



      How do I make my application run on crwardecks.com?



      I currently have godaddy re-routing the person to the URL that cloud foundry generated for me, but this is not the behavior that I want.



      I have read the documentation on Pivotal but for some reason it confuses me. I have also searched for this on the web but wasn't able to find a good resource.










      share|improve this question














      I have just pushed a Spring Boot / VueJS application to Pivotal Cloud Foundry and was wondering how I change the URL for the website?



      When I pushed the application they gave me a URL of http://crdeckhelper.cfapps.io/



      I went to godaddy and bought a domain of crwardecks.com



      How do I make my application run on crwardecks.com?



      I currently have godaddy re-routing the person to the URL that cloud foundry generated for me, but this is not the behavior that I want.



      I have read the documentation on Pivotal but for some reason it confuses me. I have also searched for this on the web but wasn't able to find a good resource.







      http dns cloudfoundry pivotal-cloud-foundry






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 22:52









      Jake PerkinsJake Perkins

      176 bronze badges




      176 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          1














          There's a couple things you need to do.




          1. Add your domain to Cloud Foundry. Run cf create-domain.



            https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains




          2. Map a route under this domain to your app. Run cf map-route <app> <domain> ....



            https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route



          At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.



          To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.



          1. You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.


          2. You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).


          Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.



          At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.



          There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.



          For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.



          https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns



          As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.



          Hope that helps!






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55367329%2fhow-to-change-url-of-pivotal-cloud-foundry-web-application%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            There's a couple things you need to do.




            1. Add your domain to Cloud Foundry. Run cf create-domain.



              https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains




            2. Map a route under this domain to your app. Run cf map-route <app> <domain> ....



              https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route



            At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.



            To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.



            1. You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.


            2. You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).


            Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.



            At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.



            There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.



            For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.



            https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns



            As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.



            Hope that helps!






            share|improve this answer





























              1














              There's a couple things you need to do.




              1. Add your domain to Cloud Foundry. Run cf create-domain.



                https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains




              2. Map a route under this domain to your app. Run cf map-route <app> <domain> ....



                https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route



              At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.



              To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.



              1. You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.


              2. You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).


              Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.



              At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.



              There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.



              For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.



              https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns



              As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.



              Hope that helps!






              share|improve this answer



























                1












                1








                1







                There's a couple things you need to do.




                1. Add your domain to Cloud Foundry. Run cf create-domain.



                  https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains




                2. Map a route under this domain to your app. Run cf map-route <app> <domain> ....



                  https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route



                At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.



                To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.



                1. You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.


                2. You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).


                Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.



                At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.



                There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.



                For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.



                https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns



                As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.



                Hope that helps!






                share|improve this answer













                There's a couple things you need to do.




                1. Add your domain to Cloud Foundry. Run cf create-domain.



                  https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#private-domains




                2. Map a route under this domain to your app. Run cf map-route <app> <domain> ....



                  https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#map-route



                At this point, you'll have the domain and route set up in CF, but nothing is sending traffic to CF.



                To send traffic to your CF, you need to make an adjustment in your DNS records. Again, there's a couple of options.



                1. You can route traffic for just one subdomain to the app, by creating a CNAME record that points from your custom domain to the domain assigned by CF. Ex: CNAME: www.example.com -> crdeckhelper.cfapps.io.


                2. You can route traffic for all subdomains with a wildcard. Again we use a CNAME record but this time we use a wildcard. Ex: CNAME: *.example.com -> *.cfapps.io (or you could use some subdomain, like *.sub.cfapps.io).


                Both are described more here. Also, cfapps.io is part of Pivotal Web Services. If you use a different provider then your shared domain will be different.



                At this point, you should have traffic routing to CF & CF should be routing traffic to your specific app. Your done & you can stop reading, unless you are trying to map a root domain to your app.



                There's an edge case around root domains (i.e. example.com, not www.example.com), because DNS CNAME records don't work for a root domain. Some DNS providers support ALIAS or ANAME records, which work like a CNAME record for root domains. If your provider does, you can give it a try (see your DNS provider's doc for instructions on how to use). If not, see if your provider supports URL forwarding. Many DNS providers will automatically redirect HTTP traffic on the root domain to a sub domain you specify, like example.com -> HTTP 302 -> www.example.com.



                For more on root domain setup, see Configuring DNS for Your Registered Root Domain at the following link.



                https://docs.run.pivotal.io/devguide/deploy-apps/routes-domains.html#domains-dns



                As a last resort, you could use an A record, but you need to be very careful because your CF providers may not have static public IPs, rather their IPs can change. If you use an A record and your provider's IP changes, traffic will stop flowing to your app & you'll need to update your A record to point to their new IPs (you can get your provider's IPs by running dig <app-dns> or nslookup <app-dns>. If you go this route, make sure you have monitoring to quickly catch when IPs change.



                Hope that helps!







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 27 at 19:19









                Daniel MikusaDaniel Mikusa

                6,9111 gold badge10 silver badges15 bronze badges




                6,9111 gold badge10 silver badges15 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55367329%2fhow-to-change-url-of-pivotal-cloud-foundry-web-application%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현