Hi there, @claraloustau! Can you tell us whether you use Ubuntu Linux as your personal computer? Is that the computer you use for your web development work? Or is the Ubuntu computer a remote server where you website is going to be hosted?
I’m asking because if your personal computer is an Apple or Windows machine, we might be able to recommend some apps to make your local web development and testing a little easier…
Websites are usually held on a server computer, which runs a web server program, like Apache or Nginx. The server only needs to have one web server program installed, in order to serve as many sites as you wish. So with only 1 installation of Apache, you could have 1,000 different websites being served. It doesn’t matter whether one site is a Kirby site, another is a WordPress site, and another uses just static pages and doesn’t need PHP at all. Each site is totally independent from the other, and the web server program is able to serve them all.
In order to do that, you need to tell the web server program some info about how each site is setup - e.g., where its files are stored on the server, whether it uses PHP, etc. So each site will usually have its own ‘configuration file’, which the web server will read, to know how to serve it. Depending on which web server software you’re using - whether it’s Apache, Nginx, or something else - the configuration file for a site has to be written in a certain way, and stored in a specific place.
These web server programs are usually difficult to install and configure. They can also conflict with a lot of software in your computer, and can damage your data if not configured correctly. So most web developers don’t install these programs directly in their local, personal computer to develop websites - they don’t need to: there are many ‘easy-to-use’ development apps you can install on your computer, which will setup and configure these web server programs automatically for you, without interfering with the rest of your computer. You can have a look at programs like MAMP, XAMPP, AMPPS, and a few others: they install a self-contained, isolated version of Apache/Nginx, as well as MySQL/MariaDB, PHP, and other software you might need in order to develop and test your websites - Kirby, WordPress or otherwise - in your local machine. All of these desktop apps allow you to setup multiple sites in your local machine, with an intuitive, graphical user interface.
Then, once the site is working as you expect in your local computer, and it’s ready to go live, you just have to copy it to the remote server where it will be hosted. That remote server is probably going to be managed by a hosting company that will also provide you with a graphical interface where you can create/delete sites at will.
You can, of course, do your web development differently - there are many, many different workflows. For example, you could use apps like Vagrant which create a ‘virtual server’ inside your computer, instead of using a GUI app. You can also host your website with a company that will give you ‘bare-bones’ server, where you’re supposed to install and configure the server software yourself. But as you can imagine, all of this requires a lot more time and knowledge, and can get you into strife quite easily, if you don’t fully understand what you’re doing - so it’s usually more prudent to start with the ‘easy’ way, and then as you gain knowledge and experience with other tools, experiment with different ways of developing.
I hope this information helps!