What is the file Name for a new Server Block

As I was following through the installation tutorial ( I get to Step 5 server blocks and get to the instruction “Paste in the following configuration block, which is similar to the default, but …” So what is the name of the file I paste server block config into ?? Is it default.conf, server.conf, server (without a file extension) ?? There is no instruction of this and thus my point of failure as testing past this step FAILS.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


The name of the file could be anything, but it is best to use the name of your website so that it is descriptive.

As described in step 5, you could use your_domain as the filename for example.

Regards, Bobby