⚠️ This lesson is retired and might contain outdated information.

Change a site name in Netlify

Tomasz Łakomy
InstructorTomasz Łakomy
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 2 years ago

By default when we create a site in Netlify it'll receive a random name such as https://elastic-franklin-d1c16f.netlify.app/. In this quick lesson we're going to learn how we can set up a custom domain name.

Tomasz Łakomy: [0:00] Right now, our blog is hosted on this random domain elastic-franklin something, something which is not the best idea ever. Luckily, with Netlify, we can change our domain name rather easily. There are two ways to accomplish that in Netlify. We can either click on Domain settings in order for us to add a custom domain.

[0:17] We can either use a domain that we already own, or we can buy a new one directly from Netlify, but there's also something as that we can do that is not going to cost us anything. If I go back to the overview page and click on Site settings over here, I can change the site name.

[0:34] This is going to be free. The only problem is that it is going to end with netlify.app, but this is fine for us. I'm going to proceed. I'm going to change the site name to my-awesome-next-js-blog. Let me save that.

[0:47] Right now, my site is available under my-awesome-next-js-blog.netlify.app. If I click over here, we can see that our blog is available immediately on that site. If I refresh this elastic-franklin domain, we can see that it doesn't work anymore.

egghead
egghead
~ 30 minutes ago

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today