Copied to clipboard

Flag this post as spam?

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


  • Christian Stenfors 80 posts 124 karma points
    Sep 17, 2012 @ 14:48
    Christian Stenfors
    0

    can i use hostnames on child content?

    Hi!

    is it possible to set hostnames on child content-nodes?

    Example:

    Root

    - page 1

    - subpage 1

    - Subcontent

    - subpage 2

    - Subcontent

     

    Can i set hostnames on "subpage 1" and "subpage 2"?

  • dan 29 posts 53 karma points
    Sep 18, 2012 @ 20:39
    dan
    0

    I am not sure if this will work, but you may need actually create a new website that just redirects to the page using an index page. Or maybe you can create a directory in the umbraco directory in the server and call it subpage. In that directory put a web.config file that redirects the user to the proper page. When you set up the new website point the physical path to that directory.

    Another option is that some DNS managers allow you to create a domain name and just have it redirect to another website. I do also see that when you right click a node you have the option to Manage Hostnames. I am not entirely sure how that works.

  • Thomas Kahn 602 posts 506 karma points
    Dec 10, 2012 @ 11:17
    Thomas Kahn
    0

    Hi!

    I'm facing the exact same challenge: a "mother site" that will contain subpages that should be accessible either with the domain of the mother site followed by the rest of the URL or directly using another domain name. Here's an attempt to show you what I mean:

    Home (mothersite.com)
          About
          Products
              Wizz-bang-thing (wizz-bang-thing.com)
                   How to use it
                   Roadshow 
                   Product details
              Thinkg-a-majing (thing-a-majing.com)
                   How to use it
                   Roadshow 
                   Product details
              Drool-cooler (drool-cooler.com)
                   How to use it
                   Roadshow 
                   Product details
         Contact
         Blog

     So I'm thinking that if you want to access the product page for the Drool-cooler you could either use the domain mothersite.com, like this:

    http://www.mothersite.com/products/wizz-bang-thing/

    ...or you could use the specific product domain name, like this:

    http://www.wizz-bang-thing.com/

    It doesn't really matter what is shown in the location field in the browser as long as the user lands on the correct page. It would be nice if the user could use the different domain independently though, for example for accessing subpages, like this:

    http://www.mothersite.com/products/wizz-bang-thing/roadshow/

    http://www.wizz-bang-thing.com/roadshow/

    I'm not sure if a setup like this is possible in Umbraco? And if so, are there other problems? Somehow I get a strange feeling that this is a strange setup, but I can't quite put my finger on it? I think it has something to do with the fact that it's mixing up URL's in an unconventional manner.

    I'd love your feedback on this matter!

Please Sign in or register to post replies

Write your reply to:

Draft