Hosting this website on a laptop in my basement

08. Sep, 2025

It matters very little that I managed to set up my own little server that runs this website and several others via a laptop in my basement. But it feels damn good! 

It also runs Immich for media sharing in my family

And several automation scripts that used to run on a VPS I rented (and still do, but won't renew when it runs out)

It's less about saving money. More about fully owning my own data. And just feeling great :D

Technical stuff:

Laptop runs newest Ubuntu server

Apache handles websites: I love simple stuff that just works

Immich runs via docker (Backup to Mega drive via a cool CLI sync tool)

The most magical stuff is probably Cloudflare Tunnel which makes sure that even if my local IP changes, it will always fully sync with DNS

This also allows me to connect to it via SSH from any location (by setting up Cloudflare Tunnel in the client connecting)

                            ';;;;;;:.  :`                
                        ,;'';;;;;;++;';;'',              
                      ''';'':;;;'''';#+;'+::             
                  ,;;'++++';;'';''+:#:;:+''+.            
              `+';;''';++++;'::::'+:+#'''+''+            
              ';''+;'''''''';'';;;++:;'#+#++++           
            .;'+''''+'+';''+''';;;+##''+##+#++'          
            '+++'+#+':;';+;'+;+'+'#;;+#+#####+#.         
           '+##'+++''++':':'+'++;:;;++#########;         
          ;###+'+''';:',:+;:;;'':'+#'++;#######;'        
          :;#+##++#+::';+:;;;';#';;+'+++'#++###'+        
          :#+##++;+';'''#:';'';'''''''';+++##++'+'       
          ;'+'+++++++';:+'+#''#'''##;,;'''+####++''      
             :+++++'+###+'+++#'++''+#+#';+++'+#+#'';     
             ''''''''+'+++'+++#+''++;+#++'#+'++@';''     
            ,'''''''''''';''++#++'++'+++;''''##;#'';     
           ,'''''';;;;;;;;;''++##+#+';:;''+###+++';;     
           :;;;;;;;;;;;;;;;'''++';;'+#''@@+###''++';     
          ,;;;;;;;;;;;;:;;;;;'++#''''++;+###+'';'+;'     
          ';;;;;;;::;;;;;;;;;''+++''+'''+#++;++;;'''     
          #;;;;;;;;::::;;;;;''++++:;'+#++++';'';+'+'     
          ,';;;;:;;:;;;;;;;;'++#'++#++''+++;''''+#++     
           '';;;;;:::;;;;;;'++++###++'+''''+';'''+#+;    
           ;+'''';;;::;;;;''++++#++++#''+##+'''++'#+'    
           '''++#++;:;;;;''+++#+#+##+'+##++'''++++##'    
           ;:;'++'++;:;;;;'++###++#++##+'#+'++#'+###     
          :;:;++'#'''';;;;'++++#+#####+#'##+#++#+##+     
         .;;;;'+'#@+''''';'++#############+#+++++##+     
         ;:;;;;'++#;++'';;;++#####+########+++#++##:     
        :::;;;;;''''';';;;;'+##########+++#++##++#;:     
       ;;;;;;;;;:'';;;;;;;;'++#################++#,      
       ';;;;'';;;;;;;;::;;;'++######+#++##+#+##+'+       
        ,;;;;'';;;;;:::;;;;;'+#####++++'++####+#+;       
         '''''';;;;;;;;;;;'''++#+#+++++'''####++#,       
         ''++';;;;;;;;;;;'''''+++++++++;;######+:        
        ;'';;;:;;;;;;;;;;;''''++++++''';'#####++,        
         ';;;;;;;;;;;;;;''''''++++'''';;@####++;         
         +';;;;;;;;;;;;;''''''+''+;;;;'######++.         
         +#+;;;;;;;;;;'''''''''''''''+###++#++;          
         '++++';;;;';;''''''''''''++++#+++#+#;           
        `''''''';;;;;;;;'''''''''++''+++++++;            
       `,'++''''';;;;;;;;;''''''''''''+#+#+;..           
........;;;'''''''''';;'''''''''''''''+#'+;'`..:         
...,..,.;;;;;;;;''''''''''''''''''''''+'''';.....`       
...,.,...+';;;;;;'''''''''''''''''''''#''';;``.....:     
...,.,....;''';''''''''''''''''''''''+'''';,``....``,    
,..,.,,,,:;;'+''''''''''''''''''''''''';;;::``...``````  
,,,::::;;;;;;;;+'++'''''''''''''''''';;;;;,,.``.```..`..,
..,:,:;;;;;;;;;''+++'''''''''''''''';;;;;:::....,,,......
..,::;';;;;;;;;;++#+''''''''''''''';;;;;;:,:,:.,:,.,`....
..,;;;';;;;;;;;;#+#++''''''''''''';;;;;;:,.,:.,,.....````
,,:;;;';;;;;;;;;'###++''''''''''';;;;;;:,;`,..,...,...`.`
,,:;;;';;;;;;;;;;#@#++''''''''+;;;;;;;;;':.,.,..,..`.`.``

Karsten Madsen

This is my public diary. My passion is to build cool novel things. My dream is to improve ethics in this world.

Go to my "about page" if you want to read a longer story :)

Linkedin