Subdomain and Domain Name and https Security Warning

I have two websites https://subdomain.domain.com and https://domain.com.

I only want to host my https://subdomain.com with Netlify for the moment. I have ported over the domain name to Netlify and the sub-domain works well however not unsurprinsgly I have a security warning problem with a the main domain name (domain.com) hosted somewhere else.

Any ideas as to how I can fix this please?
TIA and many thanks

Nick

Hi, @nickwild, and welcome to our Netlify community site.

This domain (domain.com) isn’t hosted at Netlify. Would you please let us know what the actual domain names being used are?

Thanks Luke. The domain name is niccitopping.com. I want casting.niccitopping.com on Netlify and niccitopping.com on the existing website (for the moment). Eventually both will come across.

I have already pulled the domain name over.

Thanks for your help

Nick

Hi @nickwild

The best thing to do in this situation is not use Netlify to manage your DNS (at least, not until you are ready to move the whole domain over to Netlify).

So you’ll want to delete your DNS zone here and use these instructions to create a CNAME DNS record for casting.niccitopping.com at your domain registrar.

Many thanks Laura should I do anything with the SSL settings on Netlify as I need this site to have an SSL certificate

Hi, @nickwild, if you want to use a custom domain with a Netlify site and the DNS service is not Netlify’s DNS, those instructions can be found at the link below:

https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/

To summarize, create a CNAME record for the domain name which points to the Netlify site’s subdomain (like example.netlify.com). Also, for this to be complete, add the custom domain under the site’s domain settings (Site > Settings > Domain Management > Custom domains).

If there are other questions about this, please let us know.

Hi Dan, I have done this, but wanted to know what to do about the https section. Do I delete this? Leave this? When I try and renew the SSL for niccitopping.com on the old server it cannot renew.

I know is service is free, but if you could answer this question quickly I would be really grateful as the original site is not working and I need to reset these ssl issues so both are https.

Many thanks

Nick

We just got that cert updated for you, Nick. Now your site’s cert only covers the subdomain you have set up on Netlify, casting.niccitopping.com, and not the entire domain.

Let us know if anything else is needed at this time!