/well-known file
Hi i was wondering how to make a directory for a discord connection. Discord wants me to create a file called "discord" in a .well-known folder. Where exactly would I create the file and folder in the simplefolio template?
Usually, you'd create them in either a "public" folder or just the root directory. What exactly do you plan on doing ?
Well my website is called "apthedev.netlify.app" I need to make a directory called "apthedev.netlify.app/.well-known/discord" with information in the file for /discord. I tried creating a folder called .well-known with a file called discord underneath it but it didn't work..
The .well-known folder is typically used for hosting well-known resources or metadata for your website or web application. In the context of Discord, it might be used for verification purposes or other related tasks.
If you're using a template like Simplefolio for a website, you'll need to make sure that your server configuration allows access to the .well-known folder. The structure of your project may vary, but in general, you should create the .well-known folder in the root directory of your project.
Here are general steps to follow:
-
Navigate to the root directory of your Simplefolio project.
-
Create a new folder called
.well-known. You can do this through your file explorer or by using terminal commands. For example, in the terminal, you could run:mkdir .well-known -
Inside the
.well-knownfolder, create a file calleddiscord. Again, you can do this through your file explorer or using terminal commands. For example:touch .well-known/discord -
Add the necessary content or data to the
discordfile as required by Discord. This information is usually provided by Discord itself, and it might be related to domain verification or other integrations. -
Make sure your web server is configured to serve files from the
.well-knownfolder. This may involve configuring your server's.htaccessfile or making adjustments to your server configuration.
Keep in mind that the specifics of your project and server setup may vary, so you might need to consult the documentation for the Simplefolio template or your web server to ensure the proper configuration.
Additionally, if Discord provides specific instructions for integrating with your website or template, be sure to follow those instructions closely.