{"id":108,"date":"2017-05-09T18:51:50","date_gmt":"2017-05-09T10:51:50","guid":{"rendered":"https:\/\/dream-wonderland.com\/blog\/?p=108"},"modified":"2017-05-09T18:51:50","modified_gmt":"2017-05-09T10:51:50","slug":"website-is-up","status":"publish","type":"post","link":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/","title":{"rendered":"Website is UP"},"content":{"rendered":"<p>After a few days of work in the server backend, finally I believe almost everything is up right now.<\/p>\n<p>There are quite a lot of things that cause me issues in the backend.<\/p>\n<h3>DNS and Domain Issues<\/h3>\n<p>Firstly, I got my domain name and proceeded to register my DNS nameservers.<\/p>\n<p>I waited for 3 days and thinking why the nameservers would not propagate to the world.<\/p>\n<p>It turns out that I didn&#8217;t create the DNS zone in my hosting provider and assumed that I can only create the zone after the nameservers propagated.<\/p>\n<p>I kept on getting an invalid hostname when trying to create a DNS zone on my hosting provider, and after I logged a ticket with them, they said I left an empty space after my domain name and causing the field being not validated correctly.<\/p>\n<p>It seems like stupid stuff happens everywhere when I assumed empty spaces in strings should be already trimmed before being sent to server.<\/p>\n<p>It is not as if I have not seen that before though so I reminded myself not be complacent anymore.<\/p>\n<p>&nbsp;<\/p>\n<h3>HTTPS Issues<\/h3>\n<p>HTTPS was pretty straight forward. After all the DNS records getting validated, getting Let&#8217;s Encrypt to obtain my cert was pretty easy.<\/p>\n<p>Then it is all about getting Apache to use the certs and redirect all http requests to https.<\/p>\n<p>The certs are having a validity of 90 days and can only be renewed after 60 days, so I just set a cronjob to run weekly to attempt to renew the cert.<\/p>\n<p>Hopefully there are no issues with this, but I need to check 2 months later.<\/p>\n<p>&nbsp;<\/p>\n<h3>Security Issues<\/h3>\n<p>Within a few hours of bring up the server, I am already seeing frequent attempts to login to my server.<\/p>\n<p>That means I have to do anything I can think of to make it secure, enabling SELinux, firewall, disable password login, disable root ssh login etc.<\/p>\n<p>Hopefully it will remain secure, but I would need to check my logs often.<\/p>\n<p>&nbsp;<\/p>\n<h3>Email Issues<\/h3>\n<p>The website is not able to send out emails, and after some investigation, SELinux blocked Apache from sending emails.<\/p>\n<p>After opening up the rule\u00a0httpd_can_sendmail, everything was fine.<\/p>\n<p>&nbsp;<\/p>\n<h3>Contents<\/h3>\n<p>Not yet decided on what to post in this site yet.<\/p>\n<p>I suppose it will mostly be about my personal interest.<\/p>\n<p>&nbsp;<\/p>\n<p>Finally, welcome to my website, and don&#8217;t expect this to be updated.<\/p>\n<p>&nbsp;<\/p>\n<p><img data-attachment-id=\"112\" data-permalink=\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/ohys-raws-aikatsu-stars-55-tx-1280x720-x264-aac-mp4_20170509_185020-554\/\" data-orig-file=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554.jpg\" data-orig-size=\"1920,1080\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"[Ohys-Raws] Aikatsu Stars! &#8211; 55 (TX 1280&#215;720 x264 AAC).mp4_20170509_185020.554\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554-300x169.jpg\" data-large-file=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554-1024x576.jpg\" decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-112\" src=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554.jpg\" alt=\"\" width=\"1920\" height=\"1080\" srcset=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554.jpg 1920w, https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554-300x169.jpg 300w, https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554-768x432.jpg 768w, https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554-1024x576.jpg 1024w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a few days of work in the server backend, finally I believe almost everything is up right now. There are quite a lot of things that cause me issues in the backend. DNS and Domain Issues Firstly, I got my domain name and proceeded to register my DNS nameservers. I waited for 3 days [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":[]},"categories":[3],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Website is UP - Yume&#039;s Wonderland<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Website is UP - Yume&#039;s Wonderland\" \/>\n<meta property=\"og:description\" content=\"After a few days of work in the server backend, finally I believe almost everything is up right now. There are quite a lot of things that cause me issues in the backend. DNS and Domain Issues Firstly, I got my domain name and proceeded to register my DNS nameservers. I waited for 3 days [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/\" \/>\n<meta property=\"og:site_name\" content=\"Yume&#039;s Wonderland\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-09T10:51:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554.jpg\" \/>\n<meta name=\"author\" content=\"waijie666\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"waijie666\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/\",\"url\":\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/\",\"name\":\"Website is UP - Yume&#039;s Wonderland\",\"isPartOf\":{\"@id\":\"https:\/\/dream-wonderland.com\/blog\/#website\"},\"datePublished\":\"2017-05-09T10:51:50+00:00\",\"dateModified\":\"2017-05-09T10:51:50+00:00\",\"author\":{\"@id\":\"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/a64bd69963f0c27788844ed58867848e\"},\"breadcrumb\":{\"@id\":\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dream-wonderland.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Website is UP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dream-wonderland.com\/blog\/#website\",\"url\":\"https:\/\/dream-wonderland.com\/blog\/\",\"name\":\"Yume&#039;s Wonderland\",\"description\":\"Just a playground for myself\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dream-wonderland.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/a64bd69963f0c27788844ed58867848e\",\"name\":\"waijie666\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/460a19534a9a1f703611c3b035ed2c3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/460a19534a9a1f703611c3b035ed2c3d?s=96&d=mm&r=g\",\"caption\":\"waijie666\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Website is UP - Yume&#039;s Wonderland","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/","og_locale":"en_US","og_type":"article","og_title":"Website is UP - Yume&#039;s Wonderland","og_description":"After a few days of work in the server backend, finally I believe almost everything is up right now. There are quite a lot of things that cause me issues in the backend. DNS and Domain Issues Firstly, I got my domain name and proceeded to register my DNS nameservers. I waited for 3 days [&hellip;]","og_url":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/","og_site_name":"Yume&#039;s Wonderland","article_published_time":"2017-05-09T10:51:50+00:00","og_image":[{"url":"https:\/\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/05\/Ohys-Raws-Aikatsu-Stars-55-TX-1280x720-x264-AAC.mp4_20170509_185020.554.jpg"}],"author":"waijie666","twitter_card":"summary_large_image","twitter_misc":{"Written by":"waijie666","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/","url":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/","name":"Website is UP - Yume&#039;s Wonderland","isPartOf":{"@id":"https:\/\/dream-wonderland.com\/blog\/#website"},"datePublished":"2017-05-09T10:51:50+00:00","dateModified":"2017-05-09T10:51:50+00:00","author":{"@id":"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/a64bd69963f0c27788844ed58867848e"},"breadcrumb":{"@id":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/09\/website-is-up\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dream-wonderland.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Website is UP"}]},{"@type":"WebSite","@id":"https:\/\/dream-wonderland.com\/blog\/#website","url":"https:\/\/dream-wonderland.com\/blog\/","name":"Yume&#039;s Wonderland","description":"Just a playground for myself","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dream-wonderland.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/a64bd69963f0c27788844ed58867848e","name":"waijie666","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dream-wonderland.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/460a19534a9a1f703611c3b035ed2c3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/460a19534a9a1f703611c3b035ed2c3d?s=96&d=mm&r=g","caption":"waijie666"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8I9dr-1K","jetpack-related-posts":[{"id":34,"url":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/04\/first-actual-post-site\/","url_meta":{"origin":108,"position":0},"title":"First actual post in this site","date":"May 4, 2017","format":false,"excerpt":"Just subscribed to a VPS. Still busy setting up the server, related infrastructure and building just a basic site. I still haven't bought\u00a0any domain name yet. More to come in the future.","rel":"","context":"In &quot;Server&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1592,"url":"https:\/\/dream-wonderland.com\/blog\/2018\/09\/20\/blog-is-pretty-much-dead\/","url_meta":{"origin":108,"position":1},"title":"Blog is pretty much dead","date":"September 20, 2018","format":false,"excerpt":"I think I am just too lazy to think or compose anything to post recently. The VPS behind this server is a bit going to waste but it's still hosting one script which is in use for a discord server. Still thinking of a good way to make use of\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":445,"url":"https:\/\/dream-wonderland.com\/blog\/2017\/06\/09\/interesting-findings-ssh-fail2ban\/","url_meta":{"origin":108,"position":2},"title":"Interesting findings on ssh fail2ban","date":"June 9, 2017","format":false,"excerpt":"As this is my private VPS, it is super annoying to see people attempting to try to ssh into my server. I am current using fail2ban to filter out IPs that are attempting to ssh into my server multiple times and have them permabanned. It's been one month since it\u2026","rel":"","context":"In &quot;Server&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"https:\/\/dream-wonderland.com\/blog\/2017\/05\/14\/nier-automata-thoughts\/","url_meta":{"origin":108,"position":3},"title":"Nier Automata thoughts","date":"May 14, 2017","format":false,"excerpt":"Since I just finished the story for Nier Automata today, I decided to write something about this topic. I just played the ending A, B, C, D, E within 3 days, so I am actually dead tired now. Gameplay I played the normal difficulty all the time. At first, it\u2026","rel":"","context":"In &quot;Gaming&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":594,"url":"https:\/\/dream-wonderland.com\/blog\/2017\/07\/28\/aikatsu-stars-66-idoltime-pripara-17-review\/","url_meta":{"origin":108,"position":4},"title":"Aikatsu Stars 66 and Idoltime Pripara 17 Review","date":"July 28, 2017","format":false,"excerpt":"Aikatsu Stars 66 Kirara and Yume both performed in this episode but quite obviously this is the Yume episode again. As a diehard Yume fan, adorable Yume shots are just everywhere and I'm so Yume satisfied after watching this episode. Yume was so good in bringing all the kids into\u2026","rel":"","context":"In &quot;Aikatsu&quot;","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dream-wonderland.com\/blog\/wp-content\/uploads\/2017\/07\/Ohys-Raws-Aikatsu-Stars-66-TX-1280x720-x264-AAC.mp4_20170727_232341.300-300x169.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1572,"url":"https:\/\/dream-wonderland.com\/blog\/2018\/06\/19\/random-thoughts-june-2018\/","url_meta":{"origin":108,"position":5},"title":"Random thoughts June 2018","date":"June 19, 2018","format":false,"excerpt":"I haven't gotten any motivation to write any blogposts or reviews recently so I'll just write something to just keep it somewhat alive. Currently the VPS this website is hosted on is mostly relegated to run discord bots and scripts that I have written for fun. Photokatsu wise, I have\u2026","rel":"","context":"In &quot;Aikatsu&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/posts\/108"}],"collection":[{"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":4,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dream-wonderland.com\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}