Report this

What is the reason for this report?

Multiple Domains for one website

Posted on August 30, 2014

Hi,

I want to have 1 drupal site with 2 domains i.e. .com .com.au.

I have setup my dns for the .com just the basic dns setup and pointed the domains at the DO nameservers. The .com is now resolving but the .com.au which I have also created dns for does not resolve.

I have tried to add vhosts file to the apache server but this has not worked.

PLease any help or suggestions would be greatly appreciated.

Regards

Oliver



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I would like to extend this question with another detail: how will this work in case the 2 domains are secured with (different) ssl certificates?

thank you.

my idea is to have 2 very similar .conf files for both domains and only the certificates to point to their specific location. In my case it is about startssl certificates. I will give it a try…

without ssh is working. I will work to get the second start ssl certificate and to try also with it.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.