Got an ugly command prompt? Learn how to change the name of your computer.
To change the hostname on an Ubuntu server, you need to edit two files:
You'll need root permissions to edit. So, for #1:
$ sudo vim /etc/hostname
vimwith the editor of your choice.
This file should just contain your hostname, so you can change the old name to the new name, then save and quit.
$ sudo vim /etc/hosts
You probably see something like this near the top of the file:
Here change what you find at
old_server_name to your new hostname.
$ sudo reboot
Netlify form handling is an extremely powerful feature that enables you to collect dynamic data from your users on your static sites. But it's a little tricky to get it working right within a Gatsby project. Here's a detailed look at a couple different ways of approaching Netlify forms for a Gatsby site.