Welcome, Guest
  • Author Topic: problem in domain  (Read 9562 times)

    shahzeb

    • Jr. Programmer
    • **
    • Posts: 77
      • View Profile
      • Email
    problem in domain
    « on: 12/28/05, 10:01 »
    Hi All

    I am working on Flash Based Application. But as u alll know that we have to give gateway.aspx page for reference like " http://localhost/projectname/gateway.aspx "
    if I make website in windows 2000 server. and enter the website entry into HOST file as I do with other static project. but when I write
    http://www.domainname.com/projectname/gateway.aspx   " then my project doesn't work as it should I dont know why. Anybody can help me..
    I am awaiting to your reply

    Regards
    Shahzeb

    webquest

    • Server what's that
    • *
    • Posts: 1
      • View Profile
    Re: problem in domain
    « Reply #1 on: 01/19/06, 19:55 »
    try creating folder with same name as you trying for.

    shahzeb

    • Jr. Programmer
    • **
    • Posts: 77
      • View Profile
      • Email
    Re: problem in domain
    « Reply #2 on: 02/22/06, 08:17 »
    I couldn't understand ur answer can u explain me this.

    vesa kortelainen

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 3450
      • View Profile
    Re: problem in domain
    « Reply #3 on: 02/22/06, 09:03 »
    in HOSTS: www.domainname.com localhost

    and if you using ISS, you add "www.domainname.com" as server or in apache you create Virtual Host..

    shahzeb

    • Jr. Programmer
    • **
    • Posts: 77
      • View Profile
      • Email
    Re: problem in domain
    « Reply #4 on: 02/22/06, 10:00 »
    I am working on IIS but when I do same work in localhost . its work fine ..
    problem occured when I worked in domain its doesn't work.



    If you have any task like this. can u send me that...

    shahzeb

    • Jr. Programmer
    • **
    • Posts: 77
      • View Profile
      • Email
    Re: problem in domain
    « Reply #5 on: 03/02/06, 01:29 »
    Yes  I have hosted domain name in host!!

     :'(

    Welsap

    • Server what's that
    • *
    • Posts: 1
      • View Profile
    Question
    « Reply #6 on: 07/22/06, 21:57 »
    Sick.

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: problem in domain
    « Reply #7 on: 07/23/06, 03:55 »
    Is it possible that everything is running on the same machine?
    If you are working on this machine, you are not accessing this via a DNS service. So you have to use localhost as your server name, unless you hae a hosts file with a name conversion table ;)
    happy flashing
    8)
    Ronald

    ..:: Mazhar Hasan ::..

    • Mods
    • Systems Administrator
    • *****
    • Posts: 828
    • Cheers
      • View Profile
      • SyedMazharHasan.com
    Re: problem in domain
    « Reply #8 on: 07/23/06, 20:29 »
    Well shahzeb, this has happaned to me lots of time and i work on IIS as well, the problem is, as Ron said that it is not gauranteed that every thing is on one maachine,  or may be, the hosting provider has blocked direct access using the localhost keywords because it makes it available certain things that are not to be shown to clients.

    Also, in your problem, it is not cleared that this problem happens to you when you upload the files after changing localhost to myproject.com or it happens on your own machine when you replace all the occurances of localhost to myproject.com If it happens due to later method then it is deffinately because of flash player's security and/or also because the hosting provider's firewall doesnt allows the outsiders to connect (as yo are in this case.

    However, if it is happening to you when you upload your site on the hosting server and test them live(surely after replacing localhost to myproject.com) and this problem happens, then this is what often happens to me, so what i do for this situations, instead of calling server side scripts as http://localhost/gateway.aspx or http://myproject.com/gateway.aspx i call the things as myVars.Load(_root.website "/gateway.aspx");

    where _root.website is a varaible on main movie's timeline and i place my swfs in html as src="mymovie.swf?website=http://localhost" and when i upload the files to server, then instead of re-editing and publishing all the swfs, i just change src="mymovie.swf?website=http://localhost" to src="mymovie.swf?website=http://myproject.com"  and it does the work for me.

    Now you must be thinking that although i dont have to republish all the swfs again, but i still had to change the html wherever i have embeded a movie, so you know there are many builtin server variables in ASP (as i think you are using ASP/ASP.Net) that can give you your host's url so just get that URL in a variable and change src="mymovie.swf?website=http://localhost to src="mymovie.swf?website=<%=url_to_server%>

    Hope you have got the idea.
    Your wish is my command

    ..:: Mazhar Hasan ::..

    • Mods
    • Systems Administrator
    • *****
    • Posts: 828
    • Cheers
      • View Profile
      • SyedMazharHasan.com
    Re: problem in domain
    « Reply #9 on: 07/23/06, 20:31 »
    WTF, i didnt saw the posting date, its a history now and i wrote such a long note :( again, F.O.
    Your wish is my command

    shahzeb

    • Jr. Programmer
    • **
    • Posts: 77
      • View Profile
      • Email
    Re: problem in domain
    « Reply #10 on: 11/08/06, 05:32 »
    Yes I got the answer......

    I was using flash remoting .net trial versioin.. and ths version doesn't on domain.... When I try this on licenced version its work fine.. I am workin on my project.. chk that here.....

    http://flash.coof.com

    userid : 29
    Pass : ab

    you may create new id..... Ths project is now in phase 2.