Jump to content

Switching adserver to subdomain


Recommended Posts

I've been trying to switch my installation of revive adserver (I'm v4.2.1 ) to serve ads to my site via a subdomain, instead of the main domain, but am having no luck.

My main installation is at:

www.mydomain.com/adserv

and my current config has this for delivery:

[webpath]
admin="www.mydomain.com/adserv/www/admin"
delivery="www.mydomain.com/adserv/www/delivery"
deliverySSL="www.mydomain.com/adserv/www/delivery"
images="www.mydomain.com/adserv/www/images"
imagesSSL="www.mydomain.com/adserv/www/images"

 

I use async tags, and I have updated the paths everywhere, including in cached and copies of config that are created, to be:

[webpath]
admin="www.mydomain.com/adserv/www/admin"
delivery="ads.mydomain.com/adserv/www/delivery"
deliverySSL="ads.mydomain.com/adserv/www/delivery"
images="ads.mydomain.com/adserv/www/images"
imagesSSL="ads.mydomain.com/adserv/www/images"

I wanted to leave my admin access to be untouched, so I left that path the same.

I change the async ad tag to the new location:

<script async src="https://ads.mydomain.com/adserv/www/delivery/asyncjs.php" rel="preload" as="text/php"></script>

and again, I used grep to find all instances of the paths, including:

var/www.mydomain.com.conf.php
var/cache/localhost_admin_container.php
var/cache/mydomain.com_admin_container.php.meta
var/cache/www.mydomain.com_admin_container.php
var/cache/localhost_admin_container.php.meta
var/cache/www.mydomain.com_admin_container.php.meta

But I can't get the ads to display. Any ideas? Oh, and for a long time I can't get my debug error log working...it just puts in a strange character and is blank.

 

Link to comment
Share on other sites

  • 4 weeks later...

I spent a day trying again to get a sub-domain working. I was able to get it working using the iFrame and Java tags, including the single page call Java tags, however, now matter what I did, I could not get the async tags working using the sub domain (which is my goal here). Is there any reason anyone can think of that would explain why all of the other tags are working for this, but not the async tags?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...