{"id":916,"date":"2018-01-28T17:25:23","date_gmt":"2018-01-29T01:25:23","guid":{"rendered":"http:\/\/gw.k6hr.ampr.org:8080\/blog\/?p=916"},"modified":"2025-12-16T02:02:11","modified_gmt":"2025-12-16T10:02:11","slug":"www-k6hr-com-almost-blew-it-012718","status":"publish","type":"post","link":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/","title":{"rendered":"Almost Blew It!  012718"},"content":{"rendered":"<p>I almost blew it today! If you are familiar with WordPress you may already know what happens when you type the wrong URL info into the General Settings. That&#8217;s right, your entire WordPress website is completely unreachable. Well, I did just that late afternoon yesterday. All of a sudden all of the work I put into this WordPress project over the past 6 weeks was completely hosed, and I didn&#8217;t have a clue how to fix it.<\/p>\n<h3>Nerve Wracking!<\/h3>\n<p>Talk about nerve wracking. This is probably the worst jam I&#8217;ve gotten into.<\/p>\n<p>Saturday evening I decided to register the &#8220;www.k6hr.com&#8221; domain name. It was so inexpensive at $24 I couldn&#8217;t resist. This included Dynamic DNS service. In my haste, I misconfigured the site URL&#8217;s in the WordPress SQL database. I also made some assumptions that almost wrecked the entire webserver configuration. At one point the server stopped working!<\/p>\n<p>My first mistake was thinking all I had to do was change the name of my server to &#8216;k6hr.com&#8217; and run the &#8216;homing beacon&#8217; and I would be good to go. Big mistake. It took me hours to figure out it wouldn&#8217;t work that way. Of course, now I would have to undo everything I changed. I kept a note pad next to me and wrote down every command and edit I had performed. A changelog so to speak, so I could successfully undo it in the event of further disaster.<\/p>\n<h3>Database Edit Breakthrough<\/h3>\n<p>After several more hours of research (leading into today) and more trial and error, I found out that editing the SQL database was the only way to fix this mess. Hours of searching brought me <a href=\"https:\/\/www.techrepublic.com\/article\/how-to-back-up-mysql-databases-from-the-command-line-with-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>, and I was able to locate, backup, edit, and restore the database. Unbelievable! It looked like I could fix it. After all, to the best of my knowledge, so far I had only damaged the SQL database file, all my content etc. was completely intact. I had to learn database editing right now if I was going to be able to fix this thing.<\/p>\n<p>When you don&#8217;t know exactly what you&#8217;re doing make a backup!<\/p>\n<p>I created a backup file:<\/p>\n<p>sudo mysqldump -p db_filename &gt; \/backup\/db_filename.sql<\/p>\n<p>Then I opened the backup file (as root) using the Midnight Commander file browser, (I&#8217;d be lost without &#8220;mc&#8221;) and did a search for &#8220;k6hr.com&#8221; and found the two entries I needed to change. I typed in the corrected URL info, saved the backup file, and then replaced my hosed WP database with the edited version of the backup and crossed my fingers.<\/p>\n<p>sudo mysql -u &lt;user&gt; -p &lt; \/backup\/db_filename.sql<\/p>\n<p>I restarted mysqld, then attempted to load the WP admin page from my original&nbsp; working ampr.org domain webserver&#8230;<\/p>\n<h3>It worked! What a&nbsp;relief!<\/h3>\n<p>I had successfully recovered the database after working some 14+ hours. I could now login to my WP website again! But, there was another problem, no other WP webpages would load. Only the admin page would open. I was off to a great start either way, as I had no access whatsoever a minute ago.<\/p>\n<p>It turned out the first thing I changed yesterday was the last thing that needed to be reset today. It was the &#8220;homing beacon&#8221;. I noticed when trying to connect to WP pages using my original working hostname, which I just got done restoring, were timing out with an error message saying &#8220;k6hr.com&#8221; was unreachable. The URL was being redirected from gw.k6hr.ampr.org to k6hr.com and of course this could never work.<\/p>\n<h3>A Working Solution<\/h3>\n<p>I figured out that I had to uninstall the homing beacon, and delete all the DNS records it had created. On the ChangeIP.com website I found the DNS Manager and deleted everything. That was it! This WordPress website had been successfully recovered. Good thing, because I was sick over the idea of losing it to such a bonehead mistake.<\/p>\n<p>Brian N1URO advised me on several aspects of getting this working:<\/p>\n<ul>\n<li>Add DNS A and CNAME records pointing to my server IP address<\/li>\n<li>Eliminate use of the Secondary HTTP port 8080<\/li>\n<li>Add a Virtual Host to the Apache2 configuration<\/li>\n<\/ul>\n<p>Updates and\/or additions to DNS records can take up to 24 hours to propagate through all the nameservers on the web. So possibly by 10pm tomorrow night &#8220;www.k6hr.com&#8221; will be alive and well on the web!<\/p>\n<p><a href=\"http:\/\/k6hr.com\">Back To The Front<\/a><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I almost blew it today! If you are familiar with WordPress you may already know what happens when you type the wrong URL info into the General Settings. That&#8217;s right, your entire WordPress website is completely unreachable. Well, I did just that late afternoon yesterday. All of a sudden all of the work I put &hellip; <a href=\"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Almost Blew It!  012718&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[12],"tags":[77,76,74,75],"class_list":["post-916","post","type-post","status-publish","format-standard","hentry","category-whats-new","tag-dns-manager","tag-mysqldunp","tag-n1uro","tag-wordpress-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Almost Blew It! 012718 - K6HR SDR Server 2026<\/title>\n<meta name=\"description\" content=\"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Almost Blew It! 012718 - K6HR SDR Server 2026\" \/>\n<meta property=\"og:description\" content=\"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/\" \/>\n<meta property=\"og:site_name\" content=\"K6HR SDR Server 2026\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-29T01:25:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-16T10:02:11+00:00\" \/>\n<meta name=\"author\" content=\"K6HR\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"K6HR\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/\"},\"author\":{\"name\":\"K6HR\",\"@id\":\"http:\\\/\\\/k6hr.com\\\/#\\\/schema\\\/person\\\/c65191ecdc6b432c91282328288efb24\"},\"headline\":\"Almost Blew It! 012718\",\"datePublished\":\"2018-01-29T01:25:23+00:00\",\"dateModified\":\"2025-12-16T10:02:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/\"},\"wordCount\":764,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/#\\\/schema\\\/person\\\/c65191ecdc6b432c91282328288efb24\"},\"keywords\":[\"dns manager\",\"mysqldunp\",\"n1uro\",\"wordpress database\"],\"articleSection\":[\"What's New\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/\",\"url\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/\",\"name\":\"Almost Blew It! 012718 - K6HR SDR Server 2026\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/#website\"},\"datePublished\":\"2018-01-29T01:25:23+00:00\",\"dateModified\":\"2025-12-16T10:02:11+00:00\",\"description\":\"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/k6hr.com\\\/index.php\\\/2018\\\/01\\\/28\\\/www-k6hr-com-almost-blew-it-012718\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/k6hr.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Almost Blew It! 012718\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/k6hr.com\\\/#website\",\"url\":\"http:\\\/\\\/k6hr.com\\\/\",\"name\":\"K6HR SDR Server 2025\",\"description\":\"Flex Radio 6000 Series - TG-XL \\\/ PG-XL\",\"publisher\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/#\\\/schema\\\/person\\\/c65191ecdc6b432c91282328288efb24\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/k6hr.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\\\/\\\/k6hr.com\\\/#\\\/schema\\\/person\\\/c65191ecdc6b432c91282328288efb24\",\"name\":\"K6HR\",\"logo\":{\"@id\":\"http:\\\/\\\/k6hr.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"description\":\"Licensed since 1994. Active on HF \\\/ VHF \\\/ UHF \\\/ Satellite.\",\"sameAs\":[\"http:\\\/\\\/k6hr.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Almost Blew It! 012718 - K6HR SDR Server 2026","description":"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.","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":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/","og_locale":"en_US","og_type":"article","og_title":"Almost Blew It! 012718 - K6HR SDR Server 2026","og_description":"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.","og_url":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/","og_site_name":"K6HR SDR Server 2026","article_published_time":"2018-01-29T01:25:23+00:00","article_modified_time":"2025-12-16T10:02:11+00:00","author":"K6HR","twitter_card":"summary_large_image","twitter_misc":{"Written by":"K6HR","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/#article","isPartOf":{"@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/"},"author":{"name":"K6HR","@id":"http:\/\/k6hr.com\/#\/schema\/person\/c65191ecdc6b432c91282328288efb24"},"headline":"Almost Blew It! 012718","datePublished":"2018-01-29T01:25:23+00:00","dateModified":"2025-12-16T10:02:11+00:00","mainEntityOfPage":{"@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/"},"wordCount":764,"commentCount":0,"publisher":{"@id":"http:\/\/k6hr.com\/#\/schema\/person\/c65191ecdc6b432c91282328288efb24"},"keywords":["dns manager","mysqldunp","n1uro","wordpress database"],"articleSection":["What's New"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/","url":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/","name":"Almost Blew It! 012718 - K6HR SDR Server 2026","isPartOf":{"@id":"http:\/\/k6hr.com\/#website"},"datePublished":"2018-01-29T01:25:23+00:00","dateModified":"2025-12-16T10:02:11+00:00","description":"I almost blew it! Discover my nerve-wracking WordPress mishap and how I fixed my website configuration error.","breadcrumb":{"@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/k6hr.com\/index.php\/2018\/01\/28\/www-k6hr-com-almost-blew-it-012718\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/k6hr.com\/"},{"@type":"ListItem","position":2,"name":"Almost Blew It! 012718"}]},{"@type":"WebSite","@id":"http:\/\/k6hr.com\/#website","url":"http:\/\/k6hr.com\/","name":"K6HR SDR Server 2025","description":"Flex Radio 6000 Series - TG-XL \/ PG-XL","publisher":{"@id":"http:\/\/k6hr.com\/#\/schema\/person\/c65191ecdc6b432c91282328288efb24"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/k6hr.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"http:\/\/k6hr.com\/#\/schema\/person\/c65191ecdc6b432c91282328288efb24","name":"K6HR","logo":{"@id":"http:\/\/k6hr.com\/#\/schema\/person\/image\/"},"description":"Licensed since 1994. Active on HF \/ VHF \/ UHF \/ Satellite.","sameAs":["http:\/\/k6hr.com"]}]}},"_links":{"self":[{"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/posts\/916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/comments?post=916"}],"version-history":[{"count":17,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/posts\/916\/revisions"}],"predecessor-version":[{"id":59785,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/posts\/916\/revisions\/59785"}],"wp:attachment":[{"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/media?parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/categories?post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/k6hr.com\/index.php\/wp-json\/wp\/v2\/tags?post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}