Revive Adserver – Hostinger hPanel Implementation
Complete Step-by-Step Instructions for Hostinger hPanel Implementation
Follow these steps exactly in your Hostinger hPanel to install Revive Adserver. Each step is critical for proper functionality.
✅ STEP 1: LOG INTO HOSTINGER HPANEL
- Go to https://hpanel.hostinger.com/
- Log in with your Hostinger credentials
- Select your domain: gazetapolitika.com
- You should see the main dashboard with various options
✅ STEP 2: CREATE A SUBDOMAIN FOR REVIVE ADSERVER
- In hPanel, find and click “Subdomains” (usually under Domains section)
- Click “Create New Subdomain”
- Enter subdomain name: ads
- Full subdomain will be: ads.gazetapolitika.com
- Select root directory as: /public_html/ads (it should auto-create)
- Click “Create”
- Wait for DNS to propagate (usually 5-10 minutes)
✅ STEP 3: CREATE MYSQL DATABASE FOR REVIVE ADSERVER
- Go to “MySQL Databases” section in hPanel
- Click “Create New Database”
- Database Name: gazeta_revive (or similar)
- Click “Create”
- Now create a database user:
- Go to “MySQL Users” section
- Click “Create New User”
- Username: gazeta_ads_user
- Password: Create a STRONG password (15+ characters, mix of uppercase, lowercase, numbers, symbols)
- Save these credentials in a safe place – YOU WILL NEED THEM!
- Click “Create User”
- Now assign the user to the database:
- Find the database “gazeta_revive” in MySQL Databases list
- Click it and look for “User Privileges”
- Add your new user “gazeta_ads_user” with ALL PRIVILEGES
- Save changes
✅ STEP 4: DOWNLOAD AND UPLOAD REVIVE ADSERVER FILES
- Go to: https://download.revive-adserver.com/revive-adserver-6.0.4.zip
- Download the ZIP file to your computer
- Extract/Unzip the file – this creates a folder with all Revive files
- In hPanel, go to “File Manager”
- Navigate to /public_html/ads/ (the subdomain folder you created)
- Click “Upload Files” button
- Select ALL extracted Revive Adserver files and upload them
- Wait for upload to complete (this may take 2-3 minutes)
- DO NOT delete or rename any files!
✅ STEP 5: RUN REVIVE ADSERVER INSTALLATION WIZARD
- Open your browser and go to: http://ads.gazetapolitika.com/
- You should see the Revive Adserver installation wizard
- Click “Continue”
- The wizard will check server requirements (should all be green)
- Click “Continue” again
- Now enter your DATABASE INFORMATION:
- Hostname: localhost (usually stays as is)
- Username: gazeta_ads_user (the user you created)
- Password: [Your strong password you created]
- Database Name: gazeta_revive (the database name you created)
- Click “Test Connection” – it should say “Success”
- Click “Continue”
- Create admin account:
- Admin Email: your-email@example.com
- Admin Username: admin (or choose your own)
- Admin Password: Create another STRONG password and SAVE IT!
- Click “Finish Installation”
- You should see a success message
✅ STEP 6: LOG INTO REVIVE ADSERVER ADMIN PANEL
- Go to: http://ads.gazetapolitika.com/admin/
- Log in with your admin username and password from Step 5
- You should see the Revive Adserver dashboard
- Make note of the URL – you’ll need it later for WordPress integration
✅ STEP 7: CREATE YOUR FIRST AD ZONE (HEADER BANNER)
- In Revive admin panel (http://ads.gazetapolitika.com/admin/), look for “Ad Zones” menu
- Click “Add New Zone”
- Zone Name: Header Banner 728×90
- Zone Type: Display HTML
- Width: 728
- Height: 90
- Ad Delivery Method: Random
- Click “Save Zone”
- You’ll receive a Zone ID – NOTE THIS DOWN (example: Zone ID: 1)
- Copy the JavaScript tag shown – we’ll use this in WordPress
✅ STEP 8: CREATE AN ADVERTISER AND CAMPAIGN
- In Revive admin panel, go to “Advertisers”
- Click “Add New Advertiser”
- Name: GazetaPolitika Ads (or your preference)
- Click “Save”
- Now create a campaign under this advertiser:
- Click the advertiser name
- Click “Add Campaign”
- Campaign Name: Internal Campaigns
- Type: Standard
- Status: Active
- Click “Save”
- Add a banner to this campaign:
- In campaign, click “Add Banner”
- Banner Name: Test Banner
- Banner Type: HTML
- Width: 728, Height: 90
- URL: http://gazetapolitika.com (or advertiser website)
- HTML Content: Copy/paste your ad HTML or use a simple test ad
- Click “Save”
- Assign banner to zone: click the banner, go to “Zones” tab, select “Header Banner 728×90”
✅ STEP 9: COPY THE AD CODE FOR WORDPRESS
- In Revive admin, go to Ad Zones
- Click on “Header Banner 728×90”
- Look for “Generate Tags” or “View Code”
- Copy the JavaScript/HTML code shown
- This is your ad code – you’ll paste this into WordPress
Example code will look like:
SAVE THIS CODE!
✅ STEP 10: INTEGRATE WITH WORDPRESS – ADD AD CODE TO HEADER
- Go to WordPress admin dashboard
- Go to Plugins > Add Inserter (install if not already installed)
- In Ad Inserter settings:
- Go to the “Block” section
- Create a new Ad block
- Paste the Revive Adserver code from Step 9
- Set display location: “Before post content” or “Header”
- Enable the block
- Save
- Test by visiting your website homepage
- Refresh multiple times – the ads should ROTATE (change on each reload)
✅ IMPORTANT NOTES AND TROUBLESHOOTING
✓ Ad Rotation: Every time you refresh the page, Revive will show different ads
✓ If ads don’t show:
- Check that subdomain (ads.gazetapolitika.com) is accessible
- Verify database credentials are correct
- Check File Manager that all files uploaded successfully
- Clear WordPress cache if using caching plugin
✓ Security:
- Never share admin passwords
- Keep database user password safe
- Remember admin credentials: [YOUR ADMIN USERNAME] / [YOUR PASSWORD]
- Database credentials: gazeta_ads_user / [YOUR DB PASSWORD]
✓ Next Steps After Installation:
- Create more ad zones (sidebar, footer, etc.)
- Upload your ad images/HTML
- Monitor ad performance in Revive dashboard
- Adjust ad rotation settings as needed
- Set up pricing for advertisers
✓ Support:
- Revive Adserver Documentation: https://documentation.revive-adserver.com/
- Forum: https://forum.revive-adserver.com/
CONGRATULATIONS! You now have a professional ad server like major newspapers. Your ads will rotate on every page reload, providing:
- Professional ad management
- Detailed analytics
- Multiple advertiser support
- Flexible ad targeting
- Complete rotation control
Your newspaper is now ready to manage its advertising professionally!