{"id":1,"date":"2026-10-04T08:55:28","date_gmt":"2026-10-04T08:55:28","guid":{"rendered":"https:\/\/home.callori.org\/?p=1"},"modified":"2026-10-09T17:31:56","modified_gmt":"2026-10-10T00:31:56","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/home.callori.org\/?p=1","title":{"rendered":"How to setup your own WordPress website"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This is how I installed and configured WordPress on a local machine. The below instructions are for Windows 11 Pro or Enterprise<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install\/enable Hyper-V with Powershell command: <code>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create\/configure Hyper-V virtual switch (NAT, DHCP w\/port forwards)<br>Create: NAT Switch: <code>New-VMSwitch -Name \"NAT_Switch\" -SwitchType Internal<\/code><br>Configure: <code>New-NetIPAddress -IPAddress 10.1.1.1 -PrefixLength 24 -InterfaceAlias \"vEthernet (NAT_Switch)\"<\/code><br>Create NAT: <code>New-NetNat -Name \"NAT_Switch\" -InternalIPInterfaceAddressPrefix 10.1.1.0\/24<\/code><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/ubuntu.com\/download\/server#manual-install-tab\">Download Ubuntu ISO<\/a> <a href=\"https:\/\/ubuntu.com\/download\/server#manual-install-tab\">https:\/\/ubuntu.com\/download\/server#manual-install-tab<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create New VM with specific settings (gen2, memory, cpu cores, network switch)<br>Steps: Name: WP<br>Generation: 2<br>Startup Memory: Minimum: 1024 MB, Recommend at least 2048 MB. Un-check &#8220;Use Dynamic Memory for this virtual machine&#8221;<br>Connection: NAT_Switch<br>Virtual HD: Create a virtual hard disk. Name, Location, and Size defaults are OK. <br>Installation Options: &#8220;Install an operating system from a bootable image file&#8221; Media: Browse to the Ubuntu ISO downloaded earlier<br>Open VM Settings.<br>Security: Enable Secure Boot: Checked, Template: &#8220;Microsoft UEFI Certificate Authority&#8221;, Enable Trusted Platform Module: Checked<br>Processor: 2 Virtual processors<br>Automatic Start Action: Configure based on requirements. Set to &#8220;Always start&#8221; if you want website to always be up when the computer is on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install Ubuntu<br>&#8220;Try or Install Ubuntu Server&#8221;<br>Choose Language<br>Choose Keyboard config<br>Choose the base for the installation: &#8220;Ubuntu Server (minimized)&#8221;<br>Network configuration: Choose eth0 &#8211; Edit IPV4 &#8211; Manual<br>Edit eth0 IPv4 configuration: Subnet: 10.1.1.0\/24, Address: 10.1.1.2, Gateway: 10.1.1.1, Name servers: 1.1.1.1<br>Ubuntu archive mirror configuration: Wait for test to run and show  &#8220;This mirror location passed tests&#8221;<br>Guided storage configuration: Check &#8220;Use an entire disk&#8221;, Leave defaults.<br>Storage configuration: Under &#8220;USED DEVICES &#8211; DEVICE &#8211; ubuntu-lv &#8211; Edit &#8211; Size &#8211; Set to &#8220;max&#8221; (123.945G in this example)<br>Profile configuration: Your name: Can be left blank, Your servers name: wp, Pick a username: wp_user, Enter a secure password you can remember.<br>Upgrade to Ubuntu Pro: Skip for now (Can be configured later)<br>SSH configuration: Install SSH server: Checked<br>Installation will now occur to the VM internal drive.<br>Reboot Now<br>Please remove the installation medium, then press ENTER: This should happen automatically but if it doesn&#8217;t, in the Hyper-V Media menu, click on Eject.<br>Press ENTER and wait for the VM to boot<br>Ubuntu Installation is now complete.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create port forwards through PowerShell on Host:<br><code>Add-NetNatStaticMapping -NatName \"NAT_Switch\" -Protocol TCP -ExternalIPAddress \"0.0.0.0\/24\" -ExternalPort 22 -InternalIPAddress \"10.1.1.2\" -InternalPort 22<br>Add-NetNatStaticMapping -NatName \"NAT_Switch\" -Protocol TCP -ExternalIPAddress \"0.0.0.0\/24\" -ExternalPort 80 -InternalIPAddress \"10.1.1.2\" -InternalPort 80<br>Add-NetNatStaticMapping -NatName \"NAT_Switch\" -Protocol TCP -ExternalIPAddress \"0.0.0.0\/24\" -ExternalPort 443 -InternalIPAddress \"10.1.1.2\" -InternalPort 443<\/code><br><code>Add-NetNatStaticMapping -NatName \"NAT_Switch\" -Protocol TCP -ExternalIPAddress \"0.0.0.0\/24\" -ExternalPort 8443 -InternalIPAddress \"10.1.1.2\" -InternalPort 8443<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SSH from host to 127.0.0.1 (the port forward will re-direct to the virtual machine)<br>Login with user: wp_user and the password configured earlier.<br>Run: sudo apt update<br>sudo apt -y upgrade<br>sudo shutdown -r now<br>Reconnect to SSH:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install CloudPanel: <code>curl -sS https:\/\/installer.cloudpanel.io\/ce\/v2\/install.sh -o install.sh; \\<br>echo \"8146dbe0a488e7088b04071b0c34d59aa0ab1fe9dcec382d395fd155c9e6c476 install.sh\" | \\<br>sha256sum -c &amp;&amp; sudo DB_ENGINE=MARIADB_12.3 bash install.sh<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create Site in CloudPanel<br>Go here: <a href=\"https:\/\/127.0.0.1:8443\/\">https:\/\/127.0.0.1:8443\/<\/a><br>Create Admin account<br>Login with newly created admin account<br>Click Add Site<br>Click Create a WordPress Site<br>Enter site info<br>Edit Settings. Change PHP version to latest (8.5 when this was created). Enable Varnish Cache<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Update DNS<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Port forward on router TCP 80 (required for CloudPanel to generate and install a Lets Encrypt SSL cert),443 (and 8443 if remote access to CloudPanel is required &#8211; not recommended)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create\/install SSL cert<br>In CloudPanel Admin, open Site, go to SSL\/TLS<br>Action &#8211; New Lets Encrypt Certificate<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is how I installed and configured WordPress on a local machine. The below instructions are for Windows 11 Pro or Enterprise Install\/enable Hyper-V with Powershell command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Create\/configure Hyper-V virtual switch (NAT, DHCP w\/port forwards)Create: NAT Switch: New-VMSwitch -Name &#8220;NAT_Switch&#8221; -SwitchType InternalConfigure: New-NetIPAddress -IPAddress 10.1.1.1 -PrefixLength 24 -InterfaceAlias &#8220;vEthernet (NAT_Switch)&#8221;Create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.callori.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1"}],"version-history":[{"count":4,"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":18,"href":"https:\/\/home.callori.org\/index.php?rest_route=\/wp\/v2\/posts\/1\/revisions\/18"}],"wp:attachment":[{"href":"https:\/\/home.callori.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.callori.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.callori.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}