dns - IP address in HTTP_HOST -
i have drupal site use domain access module works using inbound http_host variable.i have create subdomain's also.to make module work $_server['http_host'] variable should have domain name in .but getting ip address of our server.so site not working properly.i getting main site.but subdomains not working.all pointing main site.
my site on our server , asked our host point our domain name 172.xx.xxx/drupal.our subdomains pointed 172.xx.xxx/drupal. when type domain name showing site http_host has ip in it.we have vps host plan.what should make work properly. please help.
thing looks easy. required tell domain host provider point sub - domains 172.xxx. ip / drupal.
some examples. a.yourdomain.com => actuall point 172.xxx/drupal. b.yourdomain.com => actuall point 172.xxx/drupal. c.yourdomain.com => actuall point 172.xxx/drupal.
after domain access module automatically take care of sub-domain wise access content. note: technically domain access module show content based on current sub domain name.
Comments
Post a Comment