Koozali.org: home of the SME Server

virtual domain issues

Offline sal1504

  • ****
  • 149
  • +0/-0
virtual domain issues
« on: August 03, 2012, 09:48:58 PM »
Server is Smerserver V8.0

I am not sure if this is a sme bug (i don't think so) or an end user error (probably). I have searched bugzilla and the forums and haven't found anything for this particular problem.

I have set up my sme to host the primary domain and website. Everything is working fine (domainA). I have created an ibay for a second domain (domainb) and have followed the instructions in the manual for setting up the permissions to access this domain from the internet. Have double checked all settings to make sure they are set properly. The issue is when I access domainA's website from the internet everything is fine, but when I access the website for DomainB it brings up the website for DomainA. When i run db domain show it shows both domains.

I have checked to make sure that domainb is pointed to the right ibay (domainb) and like i said all permissions are set as in the manual. I would be greatful for any information pointing to what i did wrong.

Sal

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: virtual domain issues
« Reply #1 on: August 04, 2012, 02:25:02 PM »
My SME 8 system works perfectly for virtual domains when I do this:
1) Create an ibay in server-manager.
2) Create a new domain in server-manager, and specify the ibay from step 1 as the content.

If this is what you've done and it's not working, you probably need to open a bug report in order to handle the flood of detailed configuration questions you'll have to answer before you'll find out what's going on.

I know it sometimes feels like the forums tell you to open a bug report, and bugzilla tells you it's not a support forum... but in your case you're going to need to run and post the results of a bunch of commands (/sbin/e-smith/audittools/newrpms, /sbin/e-smith/audittools/templates, db domains show, db accounts show). 

Lengthy diagnostic output is much easier to deal with as attachments to a bug report rather than in-line in a forum discussion.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: virtual domain issues
« Reply #2 on: August 05, 2012, 01:48:10 AM »
sal1504

Your problem sounds more likely to me to be  a user configuration issue.
Much more info is needed to diagnose the issue.

Is your sme server in Server only mode (behind a firewall), or in Server Gateway mode (acting as the firewall) ?

You tell us you set things as per the manual, but you really need to tell us what those settings are eg for each ibay & domain in question etc.
Also list here the ouput of db domains show
rather than just telling us it appears to be correct. If you do not tell us we cannot guess or assume, same goes with the settings you use from the manual, there are lot's of pages in the manual and we do not know what settings you are referring to.

Please provide more details of your whole setup including the network layout, the sme server settings, and how you have configured external DNS records to point the domains in question at your sme server.

Can you access either domain correctly as a local user on the LAN ?
Does the problem only occur when accessing the sites from external locations ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline sal1504

  • ****
  • 149
  • +0/-0
Re: virtual domain issues (solved)
« Reply #3 on: August 05, 2012, 05:23:34 PM »
It apparently was something in my router or UTM. After rebooting the router and UTM everything works fine. Sorry for the waste of time.

Sal