Title: ERROR: Unable to verify $_SERVER[&quot;HTTP_HOST&quot;].
Last modified: August 21, 2016

---

# ERROR: Unable to verify $_SERVER["HTTP_HOST"].

 *  Resolved [howdave](https://wordpress.org/support/users/howdave/)
 * (@howdave)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/)
 * Hi,
 * I’m getting the error:
    ERROR: Unable to verify $_SERVER[“HTTP_HOST”].
 * It’s happening after PayPal has taken a payment instead of sending the payee 
   of to my registration form.
 * Beneath the error it says ‘If you are the site owner, please check the custom
   value in your Button Code. It MUST start with your domain name.’ My website is
   transporttravelclub.com, but it’s actually a subdomain in a muti-site network
   so the real address is transporttravelclub.travelclubsworld.com – the code for
   the PayPal button I’m using is below…
 * `[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description
   and pricing details here." ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="transporttravelclub.
   travelclubsworld.com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="1" rrt
   ="" rra="1" image="default" output="button" /]`
 * I’ve checked and double checked all my settings in PayPal and in S2member, I’m
   wondering if my site being a subdomain might be a problem? Anyone have any ideas?
 * Thanks in advance,
    Dave
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [howdave](https://wordpress.org/support/users/howdave/)
 * (@howdave)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4889983)
 * I just changed the code by removing the .travelclubsworld from the web address(
   the subdomain bit of it) so now it reads
 * `[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description
   and pricing details here." ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="transporttravelclub.
   com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="1" rrt="" rra="1" image
   ="default" output="button" /]`
 * After making that change and moving through the payment I got to a screen that
   looked the same, but instead of the error said…
 * “Thank you! Your account has been approved.
    The next step is to Register a Username
   for immediate access.” Then a button that says “Please Register Now (Click Here)”
 * After clicking that I went through to the login page though, not the registration
   page.
 * _[Moderator Note: [No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping),
   thank you.]_
 *  [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * (@anguz)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890183)
 * > so the real address is transporttravelclub.travelclubsworld.com – the code 
   for the PayPal button I’m using is below…
 * Did you get that custom value from the shortcode generator in the child blog’s
   admin area, or did you edit it manually? What is the value that the generator
   gives to the custom attribute?
 *  Thread Starter [howdave](https://wordpress.org/support/users/howdave/)
 * (@howdave)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890184)
 * Hi Cristian,
 * The code the button generator gives me is…
 * `[s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / description
   and pricing details here." ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="transporttravelclub.
   travelclubsworld.com" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="1" rrt
   ="" rra="1" image="default" output="button" /]`
 * But that leads to the ERROR: Unable to verify $_SERVER[“HTTP_HOST”] message
 *  Thread Starter [howdave](https://wordpress.org/support/users/howdave/)
 * (@howdave)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890185)
 * Sorry I just re-read your message:
 * That is from the shortcode generator in the child blog’s admin area. So the generator
   is giving transporttravelclub.travelclubsworld.com as the custom value
 *  [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * (@anguz)
 * [12 years ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890192)
 * Thank you.
 * If you haven’t yet, could you please do these? [http://www.s2member.com/kb/common-troubleshooting-tips/](http://www.s2member.com/kb/common-troubleshooting-tips/)
 *  Thread Starter [howdave](https://wordpress.org/support/users/howdave/)
 * (@howdave)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890201)
 * Hi Cristian,
 * I’ve found the plugin that is causing a problem. It’s a multi-site installed 
   plugin called ‘WordPress MU Domain Mapping’ [http://wordpress.org/plugins/wordpress-mu-domain-mapping/](http://wordpress.org/plugins/wordpress-mu-domain-mapping/).
   Looking back through forum posts I’ve seen that compatibility issues have been
   raised regarding this plugin before. Do you know if a fix has ever been achieved
   or if there’s another way of achieving the same results (ie singlelcub.clubnetwork.
   com displays as just singlelcub.com)?
 * Thanks
 *  [Cristián Lávaque](https://wordpress.org/support/users/anguz/)
 * (@anguz)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890202)
 * Thanks for the update. I’m glad you found where the problem is coming from.
 * No, I don’t know much about it, so I can’t really say… :/
 * I’ll ask Jason if he knows.
 *  Plugin Author [JasWSInc](https://wordpress.org/support/users/jaswsinc/)
 * (@jaswsinc)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890203)
 * I’m not aware of an issue with the domain mapping plugin.
 * However, when I visit: transporttravelclub.travelclubsworld.com
    I am redirected
   to: travelclubsworld.com
 * I see you have a join page here:
    [http://transporttravelclub.com/join/](http://transporttravelclub.com/join/)
 * Is this where the shortcode is? If so, that could be the issue; i.e. it’s not
   actually on transporttravelclub.travelclubsworld.com

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘ERROR: Unable to verify $_SERVER["HTTP_HOST"].’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

## Tags

 * [button](https://wordpress.org/support/topic-tag/button/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [subdomain](https://wordpress.org/support/topic-tag/subdomain/)

 * 8 replies
 * 3 participants
 * Last reply from: [JasWSInc](https://wordpress.org/support/users/jaswsinc/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/error-unable-to-verify-_serverhttp_host/#post-4890203)
 * Status: resolved