Creating a Website: Difference between revisions
mNo edit summary |
m (Add database creation link) |
||
Line 24: | Line 24: | ||
*[[Configuring DNS]] | *[[Configuring DNS]] | ||
*[[Creating a Database]] | |||
*[[Website_Configuration_Reference]] | *[[Website_Configuration_Reference]] | ||
[[Category:Basic Administration]] | [[Category:Basic Administration]] | ||
[[Category:Web]] | [[Category:Web]] |
Latest revision as of 11:01, 30 July 2022
The most basic action with Sympl is creating a website.
To do this, you only need to create a directory in the relevant location, then drop the files into it.
Example
In this example, the site to be created is example.com
.
This will create web sites at www.example.com
and example.com
, so you don't need to include the www
.
If you want to create a subdomain, then you can create that the same way, such as subdomain.example.com
.
- Log into your server running Sympl as the
sympl
user. mkdir -p /srv/example.com/public/htdocs
Any files placed into the htdocs
directory will automatically be served at http://example.com
.
Within an hour, an individual configuration for the site will be automatically generated, however if you want to accelerate this process you can run sudo sympl-web-configure --verbose
.
Remember, you may also need to configure DNS before the website is visible.
For more details on creating a website, including how to test the website before the domain has transferred to the Sympl server, see Website_Configuration_Reference