Copied to clipboard

Flag this post as spam?

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


  • prinz 8 posts 28 karma points
    Jun 28, 2010 @ 21:40
    prinz
    0

    umbarco 4.5 hostname problems

    just installed umbarco 4.5

    Configuration have been made on remove station using domain name http:\\mydomain1.local

    NOW "mydoman1.local1" does not exists in DNS. But when loading the site (admin console) it still tries to download resources (images) from hostname mydomain1.local - of course that couses UI to be broken.

    How do i solve the problem?

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jun 28, 2010 @ 21:54
    Dirk De Grave
    0

    Hi prinz,

    Do you want to run the website from your local box? If so, you've probably setup iis to use mydomain.local as host header for your local site, right? If so, you'd also need to add an entry to the hosts file which resides in windir\system32\drivers\etc folder. Add an entry such as

    127.0.0.1 mydomain.local

     

    If you need something else, please explain in further detail.

    Hope this helps.

    Regards,

    /Dirk

  • prinz 8 posts 28 karma points
    Jun 28, 2010 @ 22:04
    prinz
    0

    I have not modified any IIS site settings (concerning host headers). mydomain1.local - it was resided in my hosts file on client machine. and using that DNS name i have configured from this machine umbraco. But now i do not want to use mydomain1.local, (i have deleted it from my hosts file). Now i'm accessing the umbraco site using other for examle umbarcoserver.local but site is trying to load resources ont from umbarcoserver.local but from mydomain1.local - i see it in status string in browser. so it can not access this resource (becouse mydomain1.local does not exists). When i add mydomain1.local in hosts file - evthing works fine. But i dont need mydomain1.local any more :) i just dont understand what settings on server was modified during configuration procedure to make resource load from mydomain1.local

  • Chris Dunn 210 posts 401 karma points
    Jun 28, 2010 @ 22:51
    Chris Dunn
    0

    Prinz,

    The solution Dirk gave should work fine.   Are you installing umbraco on your "default website" in iis with the ip set to "all unassigned"?  If that's the case check to make

    sure you can access it via http://localhost.  Otherwise you will need to use host headers in iis so the website is directed properly. 

    So you are navigating to http://umbracoserver.local (which is in hosts file) and "some" resources are attempting to load from mydomain1.local?   Not sure that I understand that part in enough detail.

    You could always try restarting iis in case something is cached.  cmd > iisreset.

    -Chris

     

  • prinz 8 posts 28 karma points
    Jun 28, 2010 @ 23:09
    prinz
    0

    the whole site works verry strange now. when i'm trying to http://win2008r2 (win2008r2 - its the dns name of umbarco IIS server) it redirects me to http://win2008r2/login.aspx?ReturnUrl=%2f but not to default.aspx

    (Page not found - No umbraco document matches the url 'http://localhost/login.aspx?ReturnUrl=/')

    I have not modified any IIS settings. I restarted IIS.More over i've created new site, but behavior is still the same.

    When i'm trying to acces the runaway site CSS styles are not applied =(

    i dont understand what could brake the installation =(

    Windows Server 2008R2, ASP.Net 4.0 under Network Service, Default Web Site

  • Chris Dunn 210 posts 401 karma points
    Jun 28, 2010 @ 23:30
    Chris Dunn
    0

    Are you pointing IIS website directory to the umbraco root folder(containing bin/css/media) or subfolder /umbraco?  The login.aspx file resides in the umbraco folder.  You should get assembly errors if this is the case but it's just a thought.

    Did you do a complete fresh install from codeplex to see if the same issues occur?

    -Chris

  • prinz 8 posts 28 karma points
    Jun 29, 2010 @ 00:13
    prinz
    0

    i've created new folder placed there new files. modifed Default web site to point to this folder.

    What do i get when i'm trying to access localhost? http://localhost/install/default.aspx?redir=true&url=/login.aspx in normal new installation there sould be no any /login.aspx

    what can be wrong?

     

  • Chris Dunn 210 posts 401 karma points
    Jun 29, 2010 @ 00:25
    Chris Dunn
    0

    My only other thought is that the machine.config file contains authentication or authorization settings that are taking precendence over your web.config file.  Might want to take a look at that.

    -Chris

Please Sign in or register to post replies

Write your reply to:

Draft