Quick Navigation
- Why Put Landing Pages on Your Domain?
- How It Works
- Step 1: Create Your Landing Page
- Step 2: Deploy to LandingHero
- Option A: Subdomain — campaign.yoursite.com
- Option B: Primary Domain (Recommended) — yoursite.com/campaign
- Subdomain vs Primary Domain
- Benefits for Marketing Teams
- FAQ
Why Put Landing Pages on Your Domain?
Marketing teams need to launch campaign pages fast. But deploying on your primary domain traditionally means going through dev cycles, code reviews, and deployment pipelines.
What if you could:
- Create a landing page with AI in 2 minutes
- Deploy instantly to a hosted URL
- Proxy it to your primary domain (e.g.,
yourcompany.com/campaign-name) - Update it anytime without touching your main codebase
This is exactly what LandingHero.ai enables. Your marketing team gets full control over campaign pages while keeping everything under your brand's primary domain.
How It Works
The setup is simple:
- Create a landing page on LandingHero.ai using AI
- Deploy it to
your-campaign.landinghero.app(instant, free hosting) - Proxy a route on your main website to serve that page
The result: Visitors see yourcompany.com/campaign but the page is served from LandingHero. Updates you make on LandingHero go live instantly on your main domain.
Step 1: Create Your Landing Page with LandingHero.ai
- Go to LandingHero.ai
- Describe your campaign: "Create a landing page for our Black Friday sale with 40% off all products"
- Choose from multiple AI-generated designs
- Edit using natural language: "Make the CTA button larger and change it to red"
- Preview your page
Time to create: Under 5 minutes.
Step 2: Deploy to landinghero.app
Once you're happy with your design:
- Click Publish
- Choose your subdomain (e.g.,
black-friday-2026) - Your page is now live at
black-friday-2026.landinghero.app
What you get:
- Free SSL certificate
- Global CDN for fast loading
- Instant updates when you edit
- No server management
Option A: Subdomain (campaign.yoursite.com)
Connect a subdomain like campaign.yoursite.com with just a DNS change. Good for standalone microsites.
How to Set Up
- In LandingHero: Go to your project settings → Custom Domain
- Choose your subdomain: e.g.,
black-friday.yoursite.com - Add DNS record: Create a CNAME record pointing to LandingHero
| Type | Name | Value |
|---|---|---|
| CNAME | black-friday | cname.landinghero.app |
- Verify in LandingHero: Click "Verify Domain" — SSL is provisioned automatically
- Done! Your page is now live at
black-friday.yoursite.com
When to Use Custom Domain
- Quick setup — No server config, just DNS
- Standalone campaigns — Microsites, product launches, events
- Separate branding — When the campaign has its own identity
- No technical resources — Marketing can do it themselves
Limitations
- URL is a subdomain (
campaign.yoursite.com), not a path (yoursite.com/campaign) - Separate domain authority from your main site (minor SEO consideration)
- Each campaign needs its own subdomain
Option B: Primary Domain (yoursite.com/campaign) — Recommended
The best way to launch campaign pages: make them live at yoursite.com/campaign using a reverse proxy.
A reverse proxy routes requests from your domain to LandingHero behind the scenes. Visitors see yoursite.com/campaign, but the content is served from your LandingHero site. One-time setup, then marketing can launch unlimited campaigns without any dev work.
Why This Is the Best Approach
- Native experience — Pages feel like part of your main site
- SEO benefits — Inherits your main domain's authority
- Clean URLs —
yoursite.com/black-fridaylooks professional - Unlimited campaigns — Add new paths anytime, no DNS changes
- Marketing independence — Update pages instantly, no deployments
Click your platform below to see the setup instructions:
Now, let's make this page appear on your main website. Click your platform below to see the setup instructions:
Next.js Configuration
Add a rewrite rule in your next.config.js:
// next.config.js
module.exports = {
async rewrites() {
return [
{
source: '/black-friday/:path*',
destination: 'https://black-friday-2026.landinghero.app/:path*',
},
]
},
}
For multiple campaigns:
// next.config.js
module.exports = {
async rewrites() {
return [
{
source: '/black-friday/:path*',
destination: 'https://black-friday-2026.landinghero.app/:path*',
},
{
source: '/summer-sale/:path*',
destination: 'https://summer-sale-2026.landinghero.app/:path*',
},
{
source: '/product-launch/:path*',
destination: 'https://product-launch.landinghero.app/:path*',
},
]
},
}
That's it. Deploy your Next.js app and yoursite.com/black-friday now serves your LandingHero page.
Vercel Configuration
Add to your vercel.json:
{
"rewrites": [
{
"source": "/black-friday/:path*",
"destination": "https://black-friday-2026.landinghero.app/:path*"
}
]
}
Works with any framework deployed on Vercel - Next.js, React, Vue, etc.
WordPress Configuration
Option 1: Using .htaccess (Apache)
Add to your .htaccess file in the WordPress root:
# Proxy LandingHero campaign pages
RewriteEngine On
RewriteRule ^black-friday(/.*)?$ https://black-friday-2026.landinghero.app$1 [P,L]
Option 2: Using a Plugin
Install a reverse proxy plugin and configure:
- Source path:
/black-friday - Destination:
https://black-friday-2026.landinghero.app
Option 3: Using functions.php
// functions.php
add_action('init', function() {
$request_uri = $_SERVER['REQUEST_URI'];
if (strpos($request_uri, '/black-friday') === 0) {
$path = str_replace('/black-friday', '', $request_uri);
$url = 'https://black-friday-2026.landinghero.app' . $path;
$response = wp_remote_get($url);
if (!is_wp_error($response)) {
echo wp_remote_retrieve_body($response);
exit;
}
}
});
Nginx Configuration
Add to your Nginx server block:
location /black-friday {
proxy_pass https://black-friday-2026.landinghero.app;
proxy_set_header Host black-friday-2026.landinghero.app;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_ssl_server_name on;
}
Reload Nginx: sudo nginx -s reload
Apache Configuration
Enable proxy modules and add to your virtual host:
# Enable required modules first:
# a2enmod proxy proxy_http ssl
<VirtualHost *:443>
ServerName yoursite.com
# Proxy LandingHero pages
ProxyPass /black-friday https://black-friday-2026.landinghero.app
ProxyPassReverse /black-friday https://black-friday-2026.landinghero.app
SSLProxyEngine on
</VirtualHost>
Restart Apache: sudo systemctl restart apache2
Webflow Configuration
Webflow doesn't have native reverse proxy support (except for Enterprise customers). Here are your options:
Option 1: Use Cloudflare Workers (Recommended)
Set up a Cloudflare Worker to proxy requests. See the full guide: How to set up a Reverse Proxy for Webflow using Cloudflare Workers
// Cloudflare Worker example
addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const url = new URL(request.url)
if (url.pathname.startsWith('/black-friday')) {
const newUrl = 'https://black-friday-2026.landinghero.app' +
url.pathname.replace('/black-friday', '')
return fetch(newUrl, request)
}
return fetch(request)
}
Option 2: Use Subfold (No-Code)
Subfold is a no-code reverse proxy service designed for Webflow. It handles SSL, routing, and caching automatically.
Option 3: Webflow Enterprise
Enterprise customers can use Webflow's native reverse proxy routing feature.
Note: Companies like Upwork and Discord use reverse proxies to host their Webflow blogs under their main domain.
Framer Configuration
Framer has a built-in Multi Site feature that supports rewrites to external URLs.
Using Framer Multi Site (Recommended)
- Go to your Framer dashboard
- Select your domain in the sidebar
- Navigate to the Multi Site tab
- Click the + icon to add a rule
- Choose External as the rewrite type
- Enter the path:
/black-friday/* - Enter the target:
https://black-friday-2026.landinghero.app/*
Use wildcards for dynamic paths:
- Path:
/campaign/* - Target:
https://your-campaign.landinghero.app/*
Important: Multi Site rewrites are available on Scale and Enterprise plans. See Framer's official guide on Multi Site rewrites.
Alternative: Cloudflare Proxy
If you need more control, you can also use Cloudflare as a reverse proxy for Framer.
Wix Configuration
Wix's native routing options are limited for standard users. Here are your options:
Option 1: Wix Enterprise Routing (Enterprise Only)
Wix Enterprise includes a Routing feature for path-based routing:
- Go to your Enterprise dashboard
- Navigate to Routing tab
- Add a new route with:
- Path:
/black-friday - Destination: External URL
- URL:
https://black-friday-2026.landinghero.app
- Path:
This enables URL masking - visitors see your domain while content is served from LandingHero.
Option 2: Use Cloudflare as a Proxy (Recommended for Standard Users)
Since standard Wix doesn't support reverse proxying, use Cloudflare in front of your domain:
- Move your domain's DNS to Cloudflare
- Set up a Cloudflare Worker (similar to the Webflow example above)
- Route
/black-friday/*to your LandingHero site
Option 3: Subdomain Approach
If proxying isn't feasible, consider using a custom domain instead:
- Point
campaign.yoursite.comdirectly to LandingHero - No proxy configuration needed
Subdomain vs Primary Domain
LandingHero offers two ways to use your own domain:
| Feature | Custom Domain | Primary Domain Proxy |
|---|---|---|
| Setup | Point DNS to LandingHero | Add proxy rule on your server |
| URL Structure | campaign.yourcompany.com | yourcompany.com/campaign |
| SEO Benefit | Separate domain authority | Inherits main domain authority |
| Best For | Standalone microsites | Campaign pages under main brand |
| Technical Effort | DNS change only | Server config required |
| Brand Consistency | Subdomain feels separate | Same domain = seamless |
When to Use Custom Domain
- Microsites with separate branding
- Long-running campaigns with their own identity
- When you want isolated analytics
When to Use Primary Domain Proxy
- Marketing campaigns under your main brand
- Product launches that should feel native
- When SEO juice from your main domain matters
- Multiple short-term campaigns
Benefits for Marketing Teams
🚀 Launch in Minutes, Not Weeks
Traditional flow: Brief → Design → Dev → Review → Deploy → QA → Launch
With LandingHero: Create → Publish → Proxy (one-time) → Live
🔄 Instant Updates
Edit your page on LandingHero and changes go live immediately on your primary domain. No deployments, no dev tickets, no waiting.
🎯 Full Marketing Control
- A/B test different versions
- Update copy for seasonality
- Swap images anytime
- Add/remove sections as needed
All without touching the main codebase.
📊 Unified Analytics
Since pages live on your primary domain, they're tracked in your existing analytics setup. No cross-domain tracking headaches.
🔒 Enterprise-Grade Hosting
LandingHero provides:
- Global CDN
- Automatic SSL
- DDoS protection
- 99.9% uptime
💰 Cost Effective
- No additional hosting costs
- No dev resources needed for updates
- Launch more campaigns with the same team
Frequently Asked Questions
Does the proxy affect page speed?
Minimal impact. LandingHero uses a global CDN, and modern proxy setups add only 10-50ms latency. Your pages will still load fast.
What about SEO?
Pages served via proxy are indexed under your primary domain, inheriting its domain authority. This is often better for SEO than separate domains.
Can I use different LandingHero pages for different routes?
Yes! Set up multiple proxy rules for different campaigns:
/black-friday→black-friday.landinghero.app/summer-sale→summer-sale.landinghero.app/webinar→webinar-signup.landinghero.app
What happens when I update my LandingHero page?
Changes go live instantly. The proxy fetches the latest version from LandingHero, so your primary domain always shows the current page.
Do I need to redeploy my main site for updates?
No. That's the beauty of this setup. Update on LandingHero → Live everywhere. Your main site's deployment is only needed for the initial proxy setup.
Can I remove a campaign page?
Simply remove the proxy rule from your server config. Or keep the rule but unpublish from LandingHero.
Does this work with authenticated pages?
The proxy is best suited for public marketing pages. For authenticated experiences, consider embedding LandingHero pages or using our API.
Get Started
Ready to give your marketing team superpowers?
- Create your first page at LandingHero.ai
- Deploy to your landinghero.app subdomain
- Set up the proxy using the guide above
- Launch campaigns in minutes, not weeks
Your marketing team will thank you.
Have questions about setting up LandingHero on your domain? Contact our support team or check our documentation.
