Page 1 of 1

2 different domains, 2 different websites

Posted: Fri Oct 06, 2017 2:46 pm
by stephen92
Hey guys, I am a little new with vestacp, wanted to give this a shot before going with Plesk.

I have a few different domains which each need there own web directory, as example.

When going to website1.com it needs its website1.com directory and website2.com needs its own.

Currently if I goto website2.com it redirects to website1.com.


So for some reason, it is not directing website2.com to the website2.com directory.
I am using cloudflare and everything setup correctly on that end, everything points to the same static ip etc. I know I am missing something but not sure what.

Re: 2 different domains, 2 different websites

Posted: Fri Oct 06, 2017 3:00 pm
by stephen92
EDIT:

It seems it works now, however, I have 1 final issue. When going to webbpropertiestn.com it redirects to our main site. but when adding www. it works fine.

So, http://www.webbpropertiestn.com works great, but webbpropertiestn.com does not work.

This is how I have the web setup in Vesta.

domain: webbpropertiestn.com

Aliases:
http://www.webbpropertiestn.com
webbpropertiestn.com