SPA
SPA

Reputation: 25

Openshift - alias on domain name not showing

So i have gone through all the suggested tutorials on mapping my domain to open shift app and this is where i am.

  1. I assume that i have configured my CNAME correctly as when i type my domain name into a browser i am taken to my open shift app.

ie www.mydomain.com takes me to my open shift app...

So thats correct...

  1. I then set up an alias on my open shift app i.e. www.mydomain.com

i run rhc app show (myOpenshiftapp)

and i am shown the following...

Domain:     myDomain
  Created:    Aug 31  2:36 PM
  Gears:      1 (defaults to small)
  Git URL:    ----
  SSH:        -----
  Deployment: auto (on git push)
  Aliases:    www.mydomain.com

Therefore i assume that its configured correctly, yet when i type my domain name in a browser i get taken to my open shift app and i see my .rhcloud.com name showing not the alias ???

Upvotes: 1

Views: 538

Answers (2)

anastasiya
anastasiya

Reputation: 11

I had the same problem for the longest time.

To fix it, in openshift, I added both versions of my domain name: www.domainame.com AND domainname.com (without the WWW)

Also, in my CNAME entries on my domain name hosting I had the following:

domainname.com -> points to app-name.redhat.com
www.domainname.com -> points to app-name.redhat.com

Upvotes: 0

GiLL
GiLL

Reputation: 354

You have to use https://pointhq.com/ for integartion of your openshift app which provide free nameserver for one domain. any problem with that let me know:)

Upvotes: 1

Related Questions