Info Security Memo
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org

Build Confidence

Focusing on Information Security 

Info Security Notes

Use Godaddy Domain with Openshift Apps

12/2/2016

0 Comments

 
I have been using Openshift  to host my WordPress website www.51sec.org for a while. Domain 51sec.org was registered at GoDaddy and I was struggled with plain domain or naked domain 51sec.org not corrected pointing to my openshift App, although www.51sec.org is always working fine. Eventually after googled from Internet, I understood why and made it working . There are two different solutions, one is to use cloudflare domain services which is using flatten domain feature to achieve it. Another way is to configure Godaddy domain properly with forwarding option. Here are all steps for Godaddy configuration.


1. Openshift APP Alias Configuration

Open you openshift APP. Add www.51sec.org as your only Alias for this app.



Many people messed around this step since they think they thought plain or naked domain 51sec.org should be added too.




There are two types of error if you failed to keep only one alias www.51sec.org here when you try to use plain / naked domain to access your Openshift Apps.

  • Browsers will tell you your website page isn't working.

It has redirected you too many times. Chrome or Firefox will suggest you to try to clearing your cookies. But basically that is not the cause. Usually it caused by defined your plain / naked domain as alias in your Openshift app.



  • Browsers will open https://<plain/naked domain>/app instead of your real website.

Basically Openshift will redirect you to an not existed page https://<plain/naked domain>/app. It usually caused by DNS cache on your name service provider. You will need to wait around one hour to see if issue has been resolved.



2. GoDaddy Configuration

Log into GoDaddy account and go to GoDaddy Domain Manager dashboard You will only need to add one cname type record.

CNAME Host: WWW
Points to: 51sec-johnyan.rhcould.com
TTL: keep default value

That is enough.


Some domain provider allow you to add naked domain or allow A type record forward to a URL. But GoDaddy will not. To make my plain / naked domain 51sec.org to point to www.51sec.org, I will enable forwarding feature as shown below:

This Forwarding feature is in the same page as Domain Manager page. You just need to pull down to the bottom to see this option.

Forward to: www.51sec.org
Forward Type: Permannent (301)
Settings: Forward Only
Check Update my nameservers and DNS settings to support this change.

After above two steps, your Openshit App should start to support plain / naked domain access. It may take a while to take effect , but it will work. I found before it takes effect, your plain / naked domain might still direct to https://<plain/naked domain>/app page.

References:

  • How to use naked GoDaddy domain with OpenShift hosting?
  • OpenShift DNS Setup




0 Comments



Leave a Reply.

    Categories

    All
    Architecture
    Blog
    Checkpoint
    Cisco
    Cloud
    CyberArk
    F5
    Fortigate
    Guardium
    Juniper
    Linux
    Network
    Others
    Palo Alto
    Qualys
    Raspberry Pi
    Security
    SIEM
    Software
    Vmware
    VPN
    Wireless

    Archives

    March 2024
    February 2024
    January 2024
    December 2023
    November 2023
    October 2023
    September 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    October 2019
    September 2019
    June 2019
    July 2018
    May 2018
    December 2017
    August 2017
    April 2017
    March 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015

    Print Page:

    RSS Feed

    Email Subscribe
Powered by Create your own unique website with customizable templates.
  • Blog
  • Sitemap
    • Categories
  • Contact
  • About
  • Resources
  • Tools
  • 51sec.org