Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section DNS Server
  • Search

add new domain on same IP

Questions regarding the DNS Server
BIND
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
dexsoft
Posts: 1
Joined: Fri Aug 07, 2015 2:39 pm

add new domain on same IP
  • Quote

Post by dexsoft » Fri Aug 07, 2015 2:49 pm

I have dedicated server with ubuntu apache2 and VESTA. I have only one IP for my server.
I have running web site on server with domain www.OldSite.com
Now I registered new domain NewSite.com
I set NS on registrator page like
ns1.NewSite.com and ns2.NewSite.com and gave them both my same IP address from my server
I created new DNS in VESTA NewSite.com and applied these NS1 and NS2 records

Problem is that is not work properly. When I enter in browser NewSite.com content of OldSite.com shows

How can I solve this problem and have 2 domain names share same and only IP adress I have?

I will have seprate SSLs for both sites. On OldSite it is in function and work proprely. I ordered SSL for NewSite and when I reolve this problem I need to install SSL for new page also.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: add new domain on same IP
  • Quote

Post by tjebbeke » Sat Aug 08, 2015 7:24 pm

I think there is something wrong with your settings. Check all your settings again, especially your dns.
Top

Elizine
Posts: 50
Joined: Wed Aug 12, 2015 12:11 pm
Contact:
Contact Elizine
Website

Re: add new domain on same IP
  • Quote

Post by Elizine » Fri Aug 14, 2015 5:31 am

dexsoft wrote:I have dedicated server with ubuntu apache2 and VESTA. I have only one IP for my server.
I have running web site on server with domain http://www.OldSite.com
Now I registered new domain NewSite.com
I set NS on registrator page like
ns1.NewSite.com and ns2.NewSite.com and gave them both my same IP address from my server
I created new DNS in VESTA NewSite.com and applied these NS1 and NS2 records

Problem is that is not work properly. When I enter in browser NewSite.com content of OldSite.com shows

How can I solve this problem and have 2 domain names share same and only IP adress I have?

I will have seprate SSLs for both sites. On OldSite it is in function and work proprely. I ordered SSL for NewSite and when I reolve this problem I need to install SSL for new page also.

As per my knowledge it is possible to have multiple domain names with same IP. Here's a discussion on this - http://forums.bodhost.com/showthread.ph ... ht=address

Hope this will help you.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: add new domain on same IP
  • Quote

Post by skurudo » Tue Sep 01, 2015 12:16 pm

Yep, it's ok to have many domains on one IP, but for nameservers (NS) you need 2 IP.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “DNS Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password