Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ram 9 posts 29 karma points
    Jul 09, 2015 @ 15:38
    ram
    0

    Multiple Micro sites in single umbraco installation

    Hi,

    I need to create multiple micro sites in a single umbraco installation.

    my content structure:

    content

    -www.a.com

    -www.b.com

    i need to give the different host name for every micro sites. but i don't know how to achieve this task.

    i give the some names in culture and host name tab but it not working. please any one guide me to achieve this task.It is very urgent.

    thanks in advance

    ram

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 09, 2015 @ 15:44
    Dennis Aaen
    0

    Hi ram,

    If you right click on the home node on the sites then you can see a menu item called Culture and hostnames in the context menu

    In there you can add the domain for the sites. And then you need to add these bindings in the IIS as well.

    Hope this helps, and make sense.

    /Dennis

  • ram 9 posts 29 karma points
    Jul 09, 2015 @ 16:13
    ram
    0

    how to bind these domain names in IIS.

    i know little bit about that but i dont know exactly.

    i know to ad this domain name in host file of system32 folder and similerly in IIS default Web Site i need to add this host name.

    i tried something like this

    in my culture and hostname tab i add the following

    for www.a.com --> www.subdomain1.com

    for www.b.com --> www.subdomain2.com

    And in host file of system 32

    127.0.0.1 www.subdomain1.com

    127.0.0.1 www.subdomain2.com

    And lastly in IIS

    in Default Web Site section selecting the binding option

    in the binding option i add

    www.subdomain1.com

    www.subdomain2.com

    but i type this www.subdomain1.com in browser

    it shows the image of IIS7

    I am new to this , i never used this things

    please guide me

  • Gary Devenay 39 posts 245 karma points
    Jul 09, 2015 @ 15:57
    Gary Devenay
    0

    Hi Ram,

    In addition to Dennis' advice, there are some video tutorials that may come in useful when running multiple sites.

    Thanks,
    Gary

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 09, 2015 @ 17:11
    Dennis Aaen
    0

    Hi Ram,

    Your setup sounds good to me. But a couple of things to check is that you are pointing to the right folder in the IIS under basic settings.

    Another thing could be that the page is cached, so try in another browser or try clear your cache in the browser you are using.

    Hope this helps,

    /Dennis

  • ram 9 posts 29 karma points
    Jul 10, 2015 @ 06:18
    ram
    0

    Hi Dennis ,

                 thank you very much for your advice. I successfully achieved my task. I implemented multiple micro sites in a single Umbraco Installation.
    

    Now i have some problem with deployment.

    My website working well while running it from visual studio debug, but while i publish using visual studio. Site not working well.

    the Renderbody() contents are totally not coming.

    while i am running site in visual studio i am getting the site like this

    enter image description here

    while i am running the site after it publishing in localhost i am getting the site like this

    enter image description here

    how to solve this problem. how to show body section

    thanks

    ram

  • ram 9 posts 29 karma points
    Jul 10, 2015 @ 06:27
    ram
    0

    hi Dennis,

    i missing the image for

    while i am running site in visual studio i am getting the site like this in my previous reply, so i am posted here.

    enter image description here

    please look at my previous reply.

    thanks

    ram

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jul 10, 2015 @ 07:19
    Dennis Aaen
    0

    Hi Ram,

    How did you deploy. What you could try to do is this:

    If you are using the embedded database SQLCE then just copy over all the files and folders of your Umbraco installation to the production server using an FTP client.

    If you are using an MSSQL database then, first take a backup of your database, then install this database back on your production server.

    After this copy over this files to the server like I described before.

    The last thing you need is change the connection string in the web.config so it point on the database on the production server.

    Hope this helps,

    /Dennis

  • ram 9 posts 29 karma points
    Jul 10, 2015 @ 11:17
    ram
    0

    Hi Dennis,

    I found one solution for deploying Umbraco website in local server.

    Simply create a website under site folder in IIS

    And in basic settings of the website give the my folder location , after that i run that site my umbraco website is running on that created sitename in my computer.

    so i don't do any deployment(web deploy/ftp/file system) in my visual studio

    but my task is completed. I published my site in a local sytem.

    i don't know it give any problem or not but now it working fine for me.

    can you tell me if any problem will come in future and

    similarly i can deploy it in a live server

    waiting for your reply

    thanks

    ram

Please Sign in or register to post replies

Write your reply to:

Draft