开发者

Drupal Multisite, MAMP and SVN Best Practices?

开发者 https://www.devze.com 2023-04-02 12:17 出处:网络
I successfully set-up Drupal Multisites with: site1.domain.com site2.domain.com site3.domain.com using Virtualhosts and editing the etc/hosts with MAMP on my localhost. I then deployed it using S

I successfully set-up Drupal Multisites with:

  • site1.domain.com
  • site2.domain.com
  • site3.domain.com

using Virtualhosts and editing the etc/hosts with MAMP on my localhost. I then deployed it using SVN (it deploys automatically) on the live site.

The Problem: when I type "Site1.domain.com" because it goes to my localhost instead of my live site. Is there anyway to avoid this? (apart from renam开发者_StackOverflow社区ing the subdomain, because it speeds up deployment)


Just check your virtual host settings in httpd.conf file, are you using IP address to redirect them?

And if its directing to your localhost, just check your host file, if might be redirecting because of that

0

精彩评论

暂无评论...
验证码 换一张
取 消