Question

How to configure multi domain on the server

I am flowing all step below

https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

but not able to configure more than one domain on my server. When i am trying to ping the website then getting other website response

ping aviktechnosoft.com PING aviktechnosoft.com (162.243.155.61) 56(84) bytes of data. 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=1 ttl=64 time=0.032 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=2 ttl=64 time=0.058 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=3 ttl=64 time=0.050 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=4 ttl=64 time=0.057 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=5 ttl=64 time=0.054 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=6 ttl=64 time=0.050 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=7 ttl=64 time=0.061 ms 64 bytes from dhrupadconsultants.com (162.243.155.61): icmp_seq=8 ttl=64 time=0.058 ms


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

You will have to create virtual hosts if you want to host multiple domains.

For centos, follow this topic. https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6

For other OS, virtual hosts