diff --git a/bigbluebutton-config/bin/bbb-conf b/bigbluebutton-config/bin/bbb-conf
index 6bdd4b42da1c30fd91f8b431439d96e0b6bf0f1b..82fac737ae3af6c2d331322ab83cec8cee639412 100755
--- a/bigbluebutton-config/bin/bbb-conf
+++ b/bigbluebutton-config/bin/bbb-conf
@@ -729,7 +729,7 @@ check_configuration() {
             echo
         fi
 
-        API_IP=$(cat ${TOMCAT_DIR}/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]*:\/\///;s/\/.*//;p}' | tr -d '\015')
+        API_IP=$(cat /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp | grep -v '^//' | sed -n '/String BigBlueButtonURL/{s/.*http[s]*:\/\///;s/\/.*//;p}' | tr -d '\015')
         if [ "$IP" != "$API_IP" ]; then
             echo "# Warning: API URL IPs do not match host:"
             echo "#"