Overview
Proyecto Neptuno is already deployed and live at: Since this is a static HTML/CSS website with no build process, deployment is straightforward. This guide covers multiple deployment options.GitHub Pages Deployment
GitHub Pages is the easiest way to deploy static sites directly from a repository.Fork the repository
Visit the original repository and click the “Fork” button:This creates a copy under your GitHub account.
Enable GitHub Pages
In your forked repository:
- Go to Settings > Pages
- Under “Source”, select the branch to deploy (usually
mainormaster) - Select / (root) as the folder
- Click Save
Wait for deployment
GitHub Pages typically takes 1-3 minutes to deploy. You’ll see a green checkmark and your site URL:
If you renamed the repository, the URL will reflect the new name.
Repository Naming
GitHub Pages URLs depend on your repository name:- Repository:
CSS-responsive-project→ URL:username.github.io/CSS-responsive-project - Repository:
neptuno→ URL:username.github.io/neptuno - Repository:
username.github.io→ URL:username.github.io(user site)
For a cleaner URL, rename your repository to
username.github.io (replacing username with your GitHub username). This will deploy to the root domain.Custom Domain Setup
You can use your own domain with GitHub Pages:Configure DNS records
In your domain registrar (Namecheap, GoDaddy, etc.), add these DNS records:For apex domain (example.com):For subdomain (www.example.com or neptuno.example.com):
Add custom domain in GitHub
- Go to Settings > Pages
- Under “Custom domain”, enter your domain:
example.com - Click Save
- Wait for DNS check to complete (can take up to 24 hours)
Alternative Deployment Options
Netlify
Deploy with drag-and-drop or continuous deployment:Sign up for Netlify
Visit netlify.com and create a free account.
Deploy from GitHub
- Click Add new site > Import an existing project
- Connect your GitHub account
- Select your repository
- Build settings:
- Build command: (leave empty)
- Publish directory:
/
- Click Deploy site
Vercel
Similar process to Netlify:Traditional Web Hosting
For traditional hosting (Bluehost, HostGator, etc.):Upload via FTP/SFTP
Using FileZilla, Cyberduck, or your hosting control panel:
- Connect to your hosting account
- Navigate to
public_htmlorwwwdirectory - Upload all files:
index.htmlocio.htmlgastro.htmlproyecto.htmlcontact.htmlstyle.cssimg/folder (entire directory)
Post-Deployment Checklist
After deploying, verify these items:- All 5 pages load correctly (index, ocio, gastro, proyecto, contact)
- Navigation links work between pages
- Images load properly (check img/ directory uploaded)
- Fonts display correctly (Google Fonts CDN accessible)
- Responsive design works on mobile (test with device toolbar)
- Hamburger menu functions on mobile viewports
- Footer navigation links work
- Contact form displays (even if not functional without backend)
Updating Your Deployment
GitHub Pages
Changes are automatically deployed when you push to the configured branch:Netlify/Vercel
Both platforms auto-deploy on git push if connected to your repository. Otherwise:FTP/SFTP
Re-upload modified files using your FTP client. Only upload changed files to save time.Performance Optimization
Image Optimization
The project already uses WebP images for better compression. To further optimize:CSS Minification
For production, minifystyle.css:
style.min.css:
Caching Headers
If using traditional hosting, add to.htaccess:
Troubleshooting
Links broken after deployment?
Ensure all links are relative (starting with./ or /):
Images not loading?
Check:img/folder uploaded completely- File names match exactly (case-sensitive on Linux servers)
- Image paths in HTML are correct
Fonts not displaying?
Verify the Google Fonts import instyle.css:6 is intact:
404 errors on GitHub Pages?
Ensure:- Repository is public (or you have GitHub Pro for private repos)
- Branch selected in Settings > Pages matches your code branch
- Files are in the repository root, not a subdirectory
Monitoring and Analytics
Add Google Analytics to track visitors:G-XXXXXXXXXX with your Google Analytics tracking ID.
Next Steps
View Live Demo
See the original deployed version
Introduction
Learn more about the project architecture