Chapter 5 Deploy to the Internet
Time to make your website live! We’ll use Netlify for free hosting that automatically updates when you push to GitHub.
5.1 Step 1: Sign Up for Netlify
- Go to netlify.com
- Click “Sign up”
- Choose “Sign up with GitHub” (easiest option)
- Authorize Netlify to access your GitHub
5.2 Step 2: Deploy Your Site
Click “Add new site” → “Import an existing project”
Choose “Deploy with GitHub”
Select your repository (
my-academic-website)Keep default settings:
- Build command:
hugo - Publish directory:
public
- Build command:
Click “Deploy site”
Wait 2-3 minutes… Your site is now live!
5.3 Step 3: Get Your URL
Netlify gives you a random URL like: https://magical-unicorn-123456.netlify.app
Your academic website is now online! Share this URL with anyone.
5.4 Step 4: Get a Custom Domain (Optional)
5.4.1 Option 1: Free Netlify Subdomain
- Go to “Site settings” → “Change site name”
- Enter:
your-name-academic(or whatever you prefer) - Your new URL:
https://your-name-academic.netlify.app
5.4.2 Option 2: Custom Domain (Recommended — not free, but just a small cost: ~$10–15/year)
Buy a domain (about $10-15/year):
- yourname.com
- drsmith.org
- janesmith.net
Popular domain registrars: - Porkbun (recommended - great prices and interface) - Namecheap - Google Domains - GoDaddy
Connect to Netlify:
- In Netlify: Site settings → Domain management → Add custom domain
- Follow instructions to connect your domain
- Netlify handles HTTPS automatically (free SSL certificate)
5.5 Step 5: Automatic Updates
Here’s the magic: Your website updates automatically!
# Make changes locally
# Edit your files in text editor
# Push to GitHub
git add .
git commit -m "Added new publication"
git push
# Netlify automatically rebuilds and deploys
# Your live site updates in 2-3 minutesWorkflow:
Edit → Save → Commit → Push → Live site updates automatically
5.6 Step 6: Essential Netlify Features
5.6.1 Forms (Free Contact Forms)
Add this to any page for a working contact form:
<form name="contact" method="POST" data-netlify="true">
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" placeholder="Your Message" required></textarea>
<button type="submit">Send</button>
</form>5.7 Troubleshooting
5.8 Security & Performance
Netlify automatically provides:
- ✅ HTTPS encryption (free SSL certificate)
- ✅ Global CDN (fast loading worldwide)
- ✅ DDoS protection
- ✅ Edge compression
Your academic website is professional-grade!
5.9 What You’ve Accomplished
🎉 Congratulations! You now have:
✅ Professional academic website live on the internet
✅ Custom domain (optional but recommended)
✅ Automatic updates when you push to GitHub
✅ Professional hosting with HTTPS and global CDN
✅ Contact forms that work
✅ Analytics to track visitors
5.11 Next Steps for Your Academic Career
Share your website:
- Add URL to email signatures
- Include in conference presentations
- Put on business cards
- Add to academic profiles (ORCID, ResearchGate)
- Share on social media
Keep it updated:
- Add new publications immediately
- Update your bio and photo annually
- Post about research milestones
- Share conference presentations
🚀 Success! You went from zero to professional academic website in under 30 minutes!
💡 Pro Tip: Bookmark your Netlify dashboard - you’ll use it to monitor deployments and site analytics.
🌍 Share your achievement: Your academic website is now part of the global research community!