{"id":5183,"date":"2013-03-03T15:29:39","date_gmt":"2013-03-03T20:29:39","guid":{"rendered":"https:\/\/www.hostgator.com\/blog\/?p=5183"},"modified":"2013-03-03T15:39:37","modified_gmt":"2013-03-03T20:39:37","slug":"snappys-protips-pt-iii","status":"publish","type":"post","link":"https:\/\/www.hostgator.com\/blog\/snappys-protips-pt-iii\/","title":{"rendered":"Snappy&#8217;s ProTips, pt. III"},"content":{"rendered":"<p>Today&#8217;s ProTip from Snappy is going to be the one-two punch of accessing your website via a &#8220;temporary&#8221; URL and then applying that knowledge to accessing your webmail as well.<\/p>\n<p><a href=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2013\/02\/snappys_protips03.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5248\" alt=\"snappys_protips03\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2013\/02\/snappys_protips03.png\" width=\"611\" height=\"289\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2013\/02\/snappys_protips03.png 611w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2013\/02\/snappys_protips03-300x141.png 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/a><\/p>\n<p>What is a &#8220;temporary&#8221; URL, and why do we keep enclosing it in quotation marks?\u00a0 Let&#8217;s answer the last part first: it&#8217;s not actually temporary, in fact it&#8217;s very much permanent.\u00a0 We can elaborate on that by addressing what exactly is this thing to which we refer as a temporary URL.\u00a0 First things first, here is the associated <a title=\"KnowledgeBase\" href=\"http:\/\/support.hostgator.com\/\" target=\"_blank\">KnowledgeBase<\/a> article: <a title=\"https:\/\/support.hostgator.com\/articles\/hosting-guide\/lets-get-started\/temporary-url\" href=\"https:\/\/support.hostgator.com\/articles\/hosting-guide\/lets-get-started\/temporary-url\" target=\"_blank\">https:\/\/support.hostgator.com\/articles\/hosting-guide\/lets-get-started\/temporary-url<\/a><\/p>\n<p>A temporary URL is simply a means to access your website&#8217;s files without invoking the use of an actual domain name.\u00a0 There are multiple circumstances where this might be beneficial, one of which would be while your domain name is in propagation.\u00a0 As you can see in the KB article, the actual syntax of a temporary URL varies dependent upon your hosting platform.\u00a0 For our purposes, we&#8217;ll stick with cPanel for our lesson here today, but the same logic applies across all platforms.<\/p>\n<p>Let&#8217;s use the following information:<\/p>\n<p>Primary Domain &#8211; ninjas-are-awesome.com<br \/>\nUsername &#8211; ninjas<br \/>\nServer &#8211; gator1337<br \/>\nIP address &#8211; 172.192.226.44<\/p>\n<p>Assuming that my domain name is not yet propagated, I can still access my website via both of the following &#8220;temporary&#8221; URLs:<\/p>\n<p>http:\/\/gator1337.hostgator.com\/~ninjas<br \/>\nhttp:\/\/172.192.226.44\/~ninjas<\/p>\n<p>Note that in both instances, we simply declared a server (either by hostname or IP address) and then used a tilde (~) followed by our cpanel username, which then will deliver us to the contents of the primary domain on our account (logically this would simply be the public_html folder).<\/p>\n<p>What if we want to access an addon domain, or a subdomain?\u00a0 The same logic applies to both; simply continue down the file structure within your account in order to arrive at the desired location.\u00a0 In other words, if we have an addon domain called pirates-are-awesome.com and it is located in \/public_html\/pirates-are-awesome.com, then we would access that website via either of these URLs:<\/p>\n<p>http:\/\/gator1337.hostgator.com\/~ninjas\/pirates-are-awesome.com<br \/>\nhttp:\/\/172.192.226.44\/~ninjas\/pirates-are-awesome.com<\/p>\n<p>We now see that &#8220;~username&#8221; will deliver us to our primary domain (or public_html) and we can then expand from there to literally access any file or website within our hosting account simply by exercising logic and following the file structure that we created anytime we upload a file or created an addon- or subdomain.<\/p>\n<p style=\"text-align: center;\">***<\/p>\n<p style=\"text-align: left;\">How does this then apply to accessing our webmail accounts?\u00a0 Any email address created within your cPanel will result in a corresponding webmail account.\u00a0 Before we proceed, here is the related KB article: <a title=\"https:\/\/support.hostgator.com\/articles\/specialized-help\/email\/how-to-log-into-webmail\" href=\"https:\/\/support.hostgator.com\/articles\/specialized-help\/email\/how-to-log-into-webmail\" target=\"_blank\">https:\/\/support.hostgator.com\/articles\/specialized-help\/email\/how-to-log-into-webmail<\/a><\/p>\n<p style=\"text-align: left;\">Again, using cPanel as our example, the actual webmail service resides on port 2095.\u00a0 Ports are accessed by using a colon in the URL, directly before the port number:<\/p>\n<p style=\"text-align: left;\">http:\/\/ninjas-are-awesome.com:2095<\/p>\n<p style=\"text-align: left;\">Instead of using the port, we can also simply use \/webmail:<\/p>\n<p style=\"text-align: left;\">http:\/\/ninjas-are-awesome.com\/webmail<\/p>\n<p style=\"text-align: left;\">We would use our email account credentials (including the full email address) in order to log in at the above URLs.<\/p>\n<p style=\"text-align: left;\">Let&#8217;s apply what we&#8217;ve learned about temporary URLs in order to access webmail via URLs other than those presented above.\u00a0 Keep in mind that you can any domain pointed to your account in order to access webmail (or cPanel, for that matter), it does not have to be the primary domain, but it does have to be a domain that is pointed to\u00a0 your hosting server.<\/p>\n<p style=\"text-align: left;\">Back to the question at hand.\u00a0 Here are all the ways to access webmail, via temporary URL, using our same example account from above:<\/p>\n<p style=\"text-align: left;\">http:\/\/gator1337.hostgator.com:2095<br \/>\nhttp:\/\/172.192.226.44:2095<br \/>\nhttp:\/\/gator1337.hostgator.com\/webmail<br \/>\nhttp:\/\/172.192.226.44\/webmail<\/p>\n<p style=\"text-align: left;\">We now see that that there are a total of six unique URLs that can be used to access webmail, via domain name and temporary URL.\u00a0 We also understand that &#8220;temporary&#8221; URLs are actually quite permanent, and only referred to as temporary because, generally speaking, you will only need to use them temporarily.\u00a0 By and large, you will simply use your actual domain name to access your files.\u00a0 It&#8217;s always good to understand the use of temporary URLs though, as they can be utilized for a broader scope of purposes than what we&#8217;ve covered in this article.<\/p>\n<p style=\"text-align: left;\">Just for fun, access your website via temporary URL.<br \/>\nRemember: http:\/\/servername_or_IPaddress\/~cpanelunsername<\/p>\n<p style=\"text-align: left;\">As always, please leave a comment with any questions or suggestions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s ProTip from Snappy is going to be the one-two punch of accessing your website via a &#8220;temporary&#8221; URL and then applying that knowledge to accessing your webmail as well. What is a &#8220;temporary&#8221; URL, and why do we keep enclosing it in quotation marks?\u00a0 Let&#8217;s answer the last part first: it&#8217;s not actually temporary, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-5183","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks"],"_links":{"self":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/5183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/comments?post=5183"}],"version-history":[{"count":30,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/5183\/revisions"}],"predecessor-version":[{"id":5342,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/5183\/revisions\/5342"}],"wp:attachment":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media?parent=5183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/categories?post=5183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/tags?post=5183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}