I've 2 websites : myDomain1.com &lifier myDomain2.com

Both run on a single apache server with Mono. However my problem is the fact that i am unable to have them working simultaneously. After i visit myDomain2.com it shows the aspx content of myDomain1.com. Occassiononly this really is inversed. To ensure that myDomain1.com shows this content for myDomain2.com. I believe this occurs after i restart apache. Anythoughts on which may be happening here?

my Config. ( The config for myDomain2.com is the same except all of the relevant qualities are known as myDomain2.com )

<VirtualHost *:8014>
        ServerAdmin webmaster@myisp.com
        DocumentRoot /home/advanced/myUserName/public_html/myDomain1.com
        ServerName myDomain1.com
        ServerAlias www.myDomain1.com devel.myDomain1.com

        CustomLog logs/myDomain1.com-access.log combined
        ScriptAlias /cgi-bin/ /home/advanced/myUserName/public_html/myDomain1.com/cgi-bin/

     ## Mono (ASP.NET)
        MonoUnixSocket myDomain1.com /home/advanced/myUserName/tmp/mod_mono.sock
        MonoWapidir myDomain1.com "/home/advanced/myUserName/tmp/"
        MonoApplications myDomain1.com "/:/home/advanced/myUserName/public_html/myDomain1.com/"
        AddMonoApplications myDomain1.com "/:/home/advanced/myUserName/public_html/myDomain1.com/"
        <Location /myDomain1.com>
        AddHandler mono .aspx .ashx .asmx .ascx .asax .config .ascx
        MonoSetServerAlias myDomain1.com
        </Location>

</VirtualHost>
<Directory /home/advanced/myUserName/public_html/myDomain1.com/cgi-bin/>
        SetHandler cgi-script
</Directory>

As your config file consists of a lot of things I would not always use, I recommend beginning in the fundamentals and adding stuff until it breaks again.

I am effectively running multiple sites on my small Mono server, and my config is performed the following:

Produce a file inside your apache2 sites-enabled folder for each one of the domain names and add the next:

<VirtualHost *:80>

ServerName www.domain1.com
ServerAdmin webmaster@domain1.com
DocumentRoot /var/www/domain1
DirectoryIndex index.html index.aspx

AddMonoApplications blogsite "/:/var/www/domain1"
MonoServerPath blogsite "/usr/local/bin/mod-mono-server2"

<Directory /var/www/domain1>
    MonoSetServerAlias domain1
    SetHandler mono
    AddHandler mod_mono .aspx .ascx .asax .ashx .config .cs .asmx
         <FilesMatch "\.(gif|jp?g|png|css|ico|xsl|wmv|zip)$">
            SetHandler None
        </FilesMatch>
    DirectoryIndex index.aspx
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>

</VirtualHost>

You'll clearly need to change all of the pathways and domain names to ones that suit your server configuration.