<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alayna Johnston</title>
    <description>The latest articles on DEV Community by Alayna Johnston (@laynsleaf).</description>
    <link>https://dev.to/laynsleaf</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F486919%2Fb980b35e-6824-45c0-8eab-946eb0386e1a.png</url>
      <title>DEV Community: Alayna Johnston</title>
      <link>https://dev.to/laynsleaf</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/laynsleaf"/>
    <language>en</language>
    <item>
      <title>How To Deploy Your Angular Project in Hostinger</title>
      <dc:creator>Alayna Johnston</dc:creator>
      <pubDate>Tue, 20 Aug 2024 20:33:52 +0000</pubDate>
      <link>https://dev.to/laynsleaf/how-to-deploy-your-angular-project-in-hostinger-3115</link>
      <guid>https://dev.to/laynsleaf/how-to-deploy-your-angular-project-in-hostinger-3115</guid>
      <description>&lt;p&gt;Okay, so you have your web hosting platform setup on &lt;a href="https://cart.hostinger.com/pay/565139a9-219f-4deb-a936-1c3c83c885d5?_ga=GA1.3.942352702.1711283207" rel="noopener noreferrer"&gt;Hostinger&lt;/a&gt;, you have your code started and looking good, so… now what? This guide is specific to uploading your own code to Hostinger.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Add useHash to code: In your app-routing.module.ts file, add ‘useHash: true’ to the imports.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faigwp1g45rpmsif2ckgd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faigwp1g45rpmsif2ckgd.png" alt="Image description" width="800" height="302"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Generate deployment/production files: In your node.js terminal in your Angular project, enter the command: ng build --configuration production. This is what I found to be the most crucial step.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In your dist folder, you’ll now see a sub-folder with the same name as your project.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa46l09piosnskrjrw9dt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa46l09piosnskrjrw9dt.png" alt="Image description" width="227" height="108"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Upload: Open this folder in your File Explorer.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Method 1: In Hostinger, navigate to the file manager and into the public_html folder where your code goes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhruf2gjrvul184qsmx1m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhruf2gjrvul184qsmx1m.png" alt="Image description" width="367" height="368"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Back in File Explorer, open your folder (dist/[project name]) to view the contents &amp;amp; select them all. Then, drag directly into the folder on the website. If you already have files there, you’ll have to delete them.&lt;/p&gt;

&lt;p&gt;Method 2: Right click your folder and send to a compressed folder. Once you have your compressed file, navigate in Hostinger to the ‘upload website’ page and upload it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8rwv2ihzkdqmbqqr0n1q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8rwv2ihzkdqmbqqr0n1q.png" alt="Image description" width="451" height="970"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Test out your website and you should be good to go!&lt;/p&gt;

&lt;p&gt;Some of the information I gave came from this video by AyyazTechwhich I found to be the most helpful in my own search.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Finding the Best Web Host as a Beginner</title>
      <dc:creator>Alayna Johnston</dc:creator>
      <pubDate>Tue, 20 Aug 2024 20:31:32 +0000</pubDate>
      <link>https://dev.to/laynsleaf/finding-the-best-web-host-as-a-beginner-2l49</link>
      <guid>https://dev.to/laynsleaf/finding-the-best-web-host-as-a-beginner-2l49</guid>
      <description>&lt;p&gt;Finding a web host can be challenging. The wording is confusing, the prices are all over, you just simply want to upload your code and have a website already!&lt;/p&gt;

&lt;p&gt;Here, I will gather details about various hosting platforms from price and perks. I’ll focus on the 2 bottom tiers to keep costs low for beginning websites and only picking out Web Hosting. First, let’s clear the air on some terms we’ll see.&lt;br&gt;
Website Builder vs. Web Hosting&lt;/p&gt;

&lt;p&gt;This is the difference between plans that you are able to buy. Website Builders are the ones that allow you to use their templates that you build upon, often with very limited amount of pages you can use for lower plans. Web Hosting is where you can upload your own project code files to use the website that you built from scratch yourself. I recently learned the difference as I had my website on a Website Builder wondering why I’m spinning my gears trying to figure out how to upload my own code. Turns out it was the type of plan that I had.&lt;br&gt;
What is SSL and its related certificate?&lt;/p&gt;

&lt;p&gt;Secure Sockets Layer. Websites rely on SSL certificates, digital credentials that verify their identity and scramble data for secure communication. This encryption safeguards user information, confirms website ownership, and prevents imposters from creating replicas, ultimately building trust with visitors. An SSL protects your users so you should have one.&lt;br&gt;
What is a CDN?&lt;/p&gt;

&lt;p&gt;Content Delivery Network. “A network of interconnected servers that speeds up webpage loading for data-heavy applications” [AWS]. “While a CDN does not host content and can’t replace the need for proper web hosting, it does help cache content at the network edge, which improves website performance. Many websites struggle to have their performance needs met by traditional hosting services, which is why they opt for CDNs. Almost all websites and applications rely on a CDN to help serve content to their users.” [CloudFare]&lt;br&gt;
Host Sites&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;GoDaddy&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here is the host that I am currently using and didn’t fully understand the package that I got at the time. I am on what’s called the ‘Website Builder’ plan which, no… doesn’t allow you to build your own website in the code way like I assumed. This package allows you to use the templates only, and the base plan only comes with 2 pages…&lt;/p&gt;

&lt;p&gt;Web Hosting Economy : $9.99/mo (currently $6.99 &amp;amp; pay $83.88 today then renew $219.87)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1 website
10 databases
25 GB storage
free domain
free email
free SSL certificate — 1 year
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Web Hosting Deluxe : $13.99/mo (currently $9.99 &amp;amp; pay $119.88 today then renew $167.88)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;10 websites
25 databases
50 GB storage
shared RAM and vCPU resources
free domain
free email
free unlimited SSL for all websites
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="https://cart.hostinger.com/pay/565139a9-219f-4deb-a936-1c3c83c885d5?_ga=GA1.3.942352702.1711283207" rel="noopener noreferrer"&gt;Hostinger&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Free website migration → Fineprint: for qualified domains only. Otherwise, $10 which will be annual.&lt;/p&gt;

&lt;p&gt;Premium : $11.99/mo (currently $2.99 for 48 months + 2 months free and renews at $7.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;100 websites
unlimited free SSL
Unlimited database
free email
free domain — first year
no free CDN
no IP address
some WordPress tools (store up to only 10 products)
No-code website builder -&amp;gt; so no code option?
Security
Service and Support
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Business : $13.99 (currently $3.99 for 48 months + 2 months free and renews at $8.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;100 websites
unlimited free SSL
unlimited database
free email
free domain — first year
free CDN
No dedicated IP address
WordPress related tools (like eCommerce up to 100 products and 100 orders/mo)
No-Code website builder tools -&amp;gt; so no code option?
Security
Service and support
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Turbify&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Basic : $5.59 (currently $1.99/mo for 5-year plan)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;100 GB storage
100 GB bandwidth
free domain (first year)
250 Email addresses
25 subdomains
5 mySQL databases
AWS infrastructure
Free SSL certificate
Security
website builder and tools (WordPress)
Service and Support
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Advanced : $9.99 (currently $2.99/mo for 5-year plan)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;500 GB storage
500 GB bandwidth
free domain (first year)
500 email addresses
50 subdomains
10 mySQL databases
AWS infrastructure
free SSL Certificate
Malware Protection (Scan)
other security
Website building tools (WordPress)
Service and Support
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;BlueHost&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Basic : $2.95/mo for 1 year (renews at $11.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1 website
10 GB SSD storage
Free CDN
free domain 1st year
email free trial
Custom WP Themes
Free SSL — 1st year
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Choice Plus : $5.45/mo for 1 year (renews at $21.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;3 websites
40 GB SSD storage
free CDN
free domain 1st year
email free trial
custom WP themes
free SSL
Daily website backups — free 1st year
domain privacy — free 1st year
Malware scanning
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;DreamHost&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Shared Starter : $2.59/mo (renews at $5.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1 website
free domain included
unlimited traffic
WordPress installer
Free automated WP migrations
WP Website builder
fast SSD storage
Free SSL certificate
add email starting $1.67/mo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Shared Unlimited : $3.95/mo (renews at $10.99)&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;unlimited websites
free domain included
unlimited traffic
WP installer
free automated WP migrations
WP website builder
Fast SSD storage
free SSL certificate
unlimited email @ domain
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Some details weren’t found out until you add to the cart.&lt;br&gt;
Summary&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Cheapest low tier now : Turbify Basic at $5.59 (currently $1.99/mo for 5-year plan)
Cheapest low tier upon renewal : Turbify Basic at $5.59 (currently $1.99/mo for 5-year plan)
Cheapest 2nd tier now : Turbify Advanced at $9.99 (currently $2.99/mo for 5-year plan)
Cheapest 2nd tier upon renewal : Hostinger Business at $13.99 (currently $3.99 and renews at $8.99)
Best perks low tier : GoDaddy Economy, Turbify Basic, &amp;amp; Hostinger Prem
Best Perks 2nd tier : Hostinger Business
Worst perks low tier : DreamHost — lacks detail (db’s, storage, CDN all unknown)
Worst perks 2nd tier : DreamHost — lacks detail (db’s, storage, CDN all unknown)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Personally, I’m going to give the &lt;a href="https://cart.hostinger.com/pay/565139a9-219f-4deb-a936-1c3c83c885d5?_ga=GA1.3.942352702.1711283207" rel="noopener noreferrer"&gt;Hostinger Business tier&lt;/a&gt; a go after the sufficient detail and comparisons to other hosts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm3h53pjass1u4ek2gfkw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm3h53pjass1u4ek2gfkw.png" alt="Image description" width="800" height="210"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Host comparisons side-by-side&lt;/p&gt;

&lt;p&gt;Notes to add after I chose my host:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;GoDaddy’s customer service chat is a PAIN to work with and had me going in circles- I did not solve any problem with them.
Hostinger’s customer service chat was GREAT and straight to the point.
Hostinger charged me roughly $10 that will be annually to use my domain that I purchased from GoDaddy (only qualified domains from sites like WordPress are free to transfer, I guess?)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Thanks for checking out my post! I hope this helps and would love to hear what hosting site you decided to go with and your reasons why.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>learning</category>
      <category>website</category>
    </item>
  </channel>
</rss>
