Webservers: Difference between revisions

From Sea of Fate
Jump to navigationJump to search
No edit summary
Line 4: Line 4:


new webserver plum 192.168.100.20 enp6s18 using strawberry as a sftp server
new webserver plum 192.168.100.20 enp6s18 using strawberry as a sftp server
== webservers Purposes ==
four webservers with the primary job of serving websites have been defined.
===Logan (Wiki)===
logan has been setup as a webserver to have the wiki website. It' IP is prod.12 It can be accessed by logan.seaoffate.local, wiki.seaoffate.local or wiki.seaoffate.net
===Lime (default)===
The default website is hosted on lime. The IP is prod.10. It can be accessed by lime.seaoffate.local, www.seaoffate.local or www.seaoffate.local.
===Fig (files)===
not setup yet ip will is prod.11
===[[Plum (Photo)]]===
This one is to host the photo website, probably Piwigo. It can be accessed at plum.seaoffate.local, photo.seaoffate.local or plum.seaoffate.net. The Ip will be Prod.20. The setup here is to have a normal HD for the webserver but a NFS share for the base photos with only RO access. The actual directory where the photos are shared from will be another VM called strawberry (IP prod.21).


== Website log files and locations ==
== Website log files and locations ==

Revision as of 23:22, 4 March 2025

Introduction

temporary notes

new webserver plum 192.168.100.20 enp6s18 using strawberry as a sftp server

webservers Purposes

four webservers with the primary job of serving websites have been defined.

Logan (Wiki)

logan has been setup as a webserver to have the wiki website. It' IP is prod.12 It can be accessed by logan.seaoffate.local, wiki.seaoffate.local or wiki.seaoffate.net

Lime (default)

The default website is hosted on lime. The IP is prod.10. It can be accessed by lime.seaoffate.local, www.seaoffate.local or www.seaoffate.local.

Fig (files)

not setup yet ip will is prod.11

Plum (Photo)

This one is to host the photo website, probably Piwigo. It can be accessed at plum.seaoffate.local, photo.seaoffate.local or plum.seaoffate.net. The Ip will be Prod.20. The setup here is to have a normal HD for the webserver but a NFS share for the base photos with only RO access. The actual directory where the photos are shared from will be another VM called strawberry (IP prod.21).


Website log files and locations

The Docroots are

/var/www/wiki.seaoffate.local/public_html

and

/var/www/seaoffate.local/public_html

and

/var/www/files.seaoffate.local/public_html

The access logs are seperate for each config

www.seaoffate on Lime

For the .net they are

/var/log/apache2/www.seaoffate.net-error.log
/var/log/apache2/www.seaoffate.net-access.log

and the local are

/var/log/apache2/lime.seaoffate.local-error.log
/var/log/apache2/lime.seaoffate.local-access.log

wiki.seaoffate on Logan

For the .net they are

/var/log/apache2/wiki.seaoffate.net-error.log
/var/log/apache2/wiki.seaoffate.net-access.log

and the .local are

/var/log/apache2/wiki.seaoffate.local-error.log
/var/log/apache2/wiki.seaoffate.local-access.log
/var/log/apache2/logan.seaoffate.local-error.log
/var/log/apache2/logan.seaoffate.local-access.log

Nginx Log Files

DocumentRoot /var/www/files.seaoffate.local/public_html DocumentRoot /var/www/files.seaoffate.local/public_html DocumentRoot /var/www/files.seaoffate.local/public_html