Unable to manage hostnames Options
amritanshu
Posted: Tuesday, August 26, 2008 10:05:14 AM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Hi,

I am creating a multilingual site, but when I am trying to manage hostnames for each language folder so as to create there respective domains its not working...

what to do...

thanks

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
Skiltz
Posted: Tuesday, August 26, 2008 10:45:27 AM

Rank: Devotee

Joined: 12/6/2007
Posts: 62
Can you explain a bit more to whats not working? Like does the screen appear? Do you get an error message?


New Zealand Umbracoee
amritanshu
Posted: Tuesday, August 26, 2008 3:42:01 PM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Yes sure...sorry for not been clear in question... actually when I am right clicking on the content tree structure on the very language folder to manage the hostnames.. the hostname is done that is reflected when I create anything new to that folder or even to the existing one when I see the link to the document but when I try to browse the page its gives me error
Quote:
No node found (http://localhost/default.aspx?umbPage=/da/testdapage.aspx, '/root/node/node [@urlName = "da"]/node [@urlName = "testdapage"] | /root/node [@urlName = "testdapage"]')


Quote:

Link to document http://localhost/da/testdapage.aspx
Alternative Links http://localhost/da/testdapage.aspx

and the content tree structure is like this:

Content
-en
--page1
--page2
-da
--page1
--testpage
--de
--page1
--page2






... so I dont know exactly what I have to do...as why the node is not found....

N.B. I have also tried with the server name and IP address instead of localhost

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
Adz
Posted: Wednesday, August 27, 2008 10:54:44 AM

Rank: Aficionado

Joined: 6/5/2008
Posts: 148
Location: United Kingdom
Question: What are you setting the hostname as, for each language node?

e.g.
localhost/en
localhost/da
localhost/de

I have a feeling you may need to add an extra "root" node to your tree:

Code:

Content
    |- Root
         |- en
            |- page1
            |- page2
         |- da
            |- page1
            |- testpage
         |- de
            |- page1
            |- page2



Set the host name for "Root" to "localhost", language "English"
Set the host name for "da" to "localhost/da", language "Danish"
Set the host name for "de" to "localhost/de", language "German"






Adam Perry (blog, twitter), developing Umbraco based websites and applications for ConnectDigital.
amritanshu
Posted: Wednesday, August 27, 2008 2:42:36 PM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Anxious no i tried that too ...its still not working...

error Page Not Found

d'oh!

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
amritanshu
Posted: Thursday, August 28, 2008 1:46:44 PM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Brick wall I m stuck...please suggest...

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
Burla
Posted: Thursday, August 28, 2008 4:11:25 PM
Rank: Devotee

Joined: 5/2/2008
Posts: 53
Location: Herning, Denmark
I have the same problem in my solution (3.0.3). I have the tree structure like this

Content
- Solution team
-- Forsiden
-- Side 1
-- Side 2
- 404 page

On the "Forsiden" i have add the hostname: www.solutionteam.dk (Danish)

The Site "Forsiden" i can browse, but all other sites it just jumps to the 404 site.
But why?!!! :)
Burla
Posted: Friday, August 29, 2008 10:23:19 AM
Rank: Devotee

Joined: 5/2/2008
Posts: 53
Location: Herning, Denmark
Not a umbraco guy/guru's that know the solution to this?
vonlinaa
Posted: Saturday, August 30, 2008 10:48:21 AM
Rank: Aficionado

Joined: 7/23/2006
Posts: 172
I think you have to set the following setting to false:

<useDomainPrefixes>true</useDomainPrefixes>

-->Edit /config/UmbracoSettings.config

Remember to republish all your content pages.

Søren Linaa
Level 1 & 2 Certified Professional
Burla
Posted: Monday, September 01, 2008 8:58:49 AM
Rank: Devotee

Joined: 5/2/2008
Posts: 53
Location: Herning, Denmark
Okay it worked. But could you tell me why?
amritanshu
Posted: Monday, September 01, 2008 9:42:40 AM

Rank: Enthusiast

Joined: 7/2/2008
Posts: 34
Location: India
Not talking Still not working for me... Pray

I am really stuck...what I am doing wrong...

its error 404 again...

http://localhost:81/da/testdapage.aspx gives me error 404
http://localhost:81/testdapage.aspx shows me the page

what to do ??? guys help me out...Think

Good judgment comes from experience, and often experience comes from bad judgment. So experience is simply the name we give our mistakes...
ni5ni6
Posted: Wednesday, September 24, 2008 5:52:23 PM
Rank: Enthusiast

Joined: 12/18/2007
Posts: 34
hi amritanshu,
can you tell us what http://localhost:81/default.aspx gives back? Does it work properly?

If you are trying to make multilingual site which has the same type of content for each language (a.k.a. multilingual 1-1) I recommend this book:
http://umbraco.org/documentation/books/multilingual-11-sites

Its really easy and neat solution, you should try it.

Cheers,
Nikola

azzlack
Posted: Thursday, September 25, 2008 9:04:29 AM

Rank: Devotee

Joined: 8/5/2007
Posts: 95
Location: Bergen, Norway
Have you republished all the nodes after setting the usedomainprefixes to false?

You need to generate new url's for the nodes after you change this value.

Right-click on your "en", "de", etc. nodes and choose publish and then tick the box that says "publish all children".



www.eyecatch.no
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.