Vhost problem

HI

I have Ubuntu 14.x installed and and have two site running on the server. All good. both sites are for clients and have been running for a while. But when I try to add our companies website it breaks one of the premising sites.

So for clarity we have two existing sites, lest call them

jimbob.com

sherlyjones.com

which are working

Lets say my company website is

fredsmith.com

now when I activate fredsmith.com jimboob.com maps to fredsmith.com and brakes.

the document paths for each site in the conf files are

/var/ww/public_html/jimbob.com

and

/var/ww/public_html/fredsmith.com

why when I enable fredsmith.com does it change the document path for jimbob.com I have no idea.

If I disable out company site and in the browser type in fredsmith.com it displays jimbob.com

What is strange is that the third site sherlyjones.com behaves correctly

I've never seen this problem before and not sure where the problem is.

Any suggestions of help would be appreciated.

2 Replies

Since you've obfuscated any useful info, I'd guess a typo, check VERY CAREFULLY that all the site names, URL's and paths are spelled correctly.

Thanks, I'm feeling rather stupid ATM. It was a typo, A cant believe I didn't see it.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct