Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Deleted custom domain cannot be added on a new account, Error: The domain is invalid: name overlapping_domain

270007AR3G gravatar image
Question by Jim R  (74) | Dec 01, 2014 at 03:34 PM errorcustomibmclouddomain

We had an account with two apps running each with a custom domain. These were hosting my DEV and PROD systems:

  1. DEV - "dev.rolr.net"

  2. PROD - "rolr.net"

We wanted to install SSL certificates for EACH of these TWO domains, but currently Bluemix has a hard limit of only allowing ONE SSL certificate upload per account. (FYI, it is my understanding that this will soon be changing and that the limit may be lifted to FOUR SSL certificates, so watch out for this, y'all.)

As a temporary solution, I opened up a new, second DEV account (new org: "ROLR DEV") and made the first account our PROD account (new org: "ROLR PROD"). I deleted the DEV app and custom domain from the PROD account and re-created them on the DEV account

However, when I try to add the DEV custom domain to the new DEV account, I get an error:

 > cf create-domain "ROLR DEV" dev.rolr.net
 FAILED
 Server error, status code: 400, error code: 130001, message: The domain is invalid: name overlapping_domain

The system won't release my deleted domain from the PROD account, even though I have deleted the domain, routes and app associated with the custom domain "dev.rolr.net". (I have also used the cf-command 'cf delete-domain dev.rolr.net -f' to delete the domain from the PROD account, per some other notes here.)

Now our DEV custom domain can be re-added to and deleted from the PROD account successfully, but on DEV the same error 130001 "name overlapping_domain" always occurs.

I would really like to migrate this domain to my new DEV account and secure it with its proper SSL certificate. Can anyone help shed some light on this issue?

Denilson Nastacio

People who like this

  1   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270007C0HT gravatar image jimmcvea (686)   Dec 08, 2014 at 09:30 AM 0
Share

Good news, Jim.
You can now upload up to 4 certificates with a paid account. A trial account can now upload 1 certificate.

2 answers

  • Sort: 
270007C0HT gravatar image
Accepted answer

Answer by jimmcvea (686) | Dec 04, 2014 at 02:45 PM

I can reproduce the same "overlapping_domain" error if I create a subdomain in a secondary account based on a domain which already exists in another account. However, if I flip the order in which I create the domain and subdomain, then it works. For example:

Account_DEV - cf create-domain {orgname} dev.mydomain.com
then
Account_PROD - cf create-domain {orgname} mydomain.com

Once the domains are set across my two accounts, I can create CNAME entries to map to my apps in Bluemix.

There are some caveats to this approach:

  1. You shouldn't create an app which results in a 'dev.mydomain.com' route in Account_PROD.

  2. If you need to add something like 'prod.mydomain.com' in the future, you'll have to cf delete-route mydomain.com in Account_PROD, create the 'prod.mydomain.com' domain, then recreate 'mydomain.com'.

  3. This approach of changing the ordering may be exposing a bug in cloudfoundry. At this time, I can't confirm whether that is or isn't the case -- I call it out in case it doesn't work in the future.

For your scenario, caveat #3 may not be a big concern since it sounds like the multiple account approach is a temporary workaround until multiple certs can be uploaded.

Comment
Jim R

People who like this

  1   Show 1   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270007AR3G gravatar image Jim R (74)   Dec 04, 2014 at 09:29 PM 0
Share

Thanks @jmcvea, these are the solutions I've been looking for.

This worked like a charm. I was able to delete the PROD domain and then add the DEV and then add back the PROD, in that order.

And it makes sense now to understand that since "rolr.net" is registered as a domain, that "dev.rolr.net" would be "overlapping" and get rejected as it would be a subdomain of "rolr.net"

270007193H gravatar image

Answer by Duncan M (93) | Dec 01, 2014 at 03:59 PM

I had a similar issue with the domain isimvid.com.

Seems to me that Bluemix makes a distinction between isimvid.com being the "domain" and www.isimvid.com being a mapped route suitable for pointing at an app, but not a true "domain" in its own right.

So my next question is: does Bluemix let you map dev.rolr.net to an app from DEV without complaint, or does it complain that the domain does not exist?

For me, I get an error when trying to CREATE www.isimvid.com, but not when mapping.

Comment

People who like this

  0   Show 3   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270007AR3G gravatar image Jim R (74)   Dec 01, 2014 at 05:58 PM 0
Share

No, this doesn't work for me either. My PROD domain is "rolr.net" and the host route that is mapped to the app is "api.rolr.net". I need to add the DEV domain "dev.rolr.net", upload an SSL certificate for that wildcard domain, and map the route "api.dev.rolr.net" to the DEV app.

270007193H gravatar image Duncan M (93)   Dec 01, 2014 at 07:33 PM 0
Share

Maybe try adding api.dev.rolr.net to DEV? Does that work?

270007AR3G gravatar image Jim R (74) Duncan M (93)   Dec 03, 2014 at 06:35 PM 0
Share

No that results in the same overlapping_domain error:

 cf create-domain "ROLR DEV" api.dev.rolr.net
 FAILED
 Server error, status code: 400, error code: 130001, message: The domain is invalid: name overlapping_domain

Follow this question

34 people are following this question.

Answers

Answers & comments

Related questions

Error: The route is invalid: domain invalid_relation 1 Answer

Using a custom domain with Bluemix 2 Answers

Error 404 on boilerplate 2 Answers

sinatra-rabbitmq status code:400, error code: 10000 1 Answer

Squid error when running mocha test that makes a DELETE request 0 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges