locked
Access Web Apps remotely and SQL2005? RRS feed

  • Question

  • Hi

     

    I have just setup my WHS, i think its great and it works like a charm Smile

     

    I have just added and configured a simple web app to IIS, this works fine.

     

    I would like to know is it possible to access any of these web apps when i am away from my computer??

     

    Also I have installed SQL Server 2005 express on the server, i can connect to it locally, with no problems. When i try to access it from another PC i cant even "see" it, what am i missing??

     

    Many Thanks

    Tuesday, August 26, 2008 8:12 AM

Answers

  • Well, is the web app you created accessible from other client computers on your home network? Probably by typing something like http://servername/myapp/default.aspx? If so, then you would access it remotely by using the vanity URL you set up when you configured remote access, something like http://myurl.homeserver.com/myapp/default.aspx.

    If you can't even access the web application from another computer on your home network, then your server isn't properly configured yet. You should take a look at this web site, which contains a step by step walkthrough of creating a site on your server. If it's not useful to you, I'm going to have to recommend that you look for some good basic information on setting up and administrering web sites using Internet Information Server. There's a good bit of information that you'll need to understand what you're doing; way more than is really appropriate for this forum.

    Also, please be aware that using your server in this way isn't really supported by Microsoft. Their intention is that all normal server access will be through the shares or the server's management console. WHS owners should, in theory, never need to log in to the server directly (using Remote Desktop or KVM). So everything you're doing is "at your own risk" and "here there be dragons" type stuff. Smile
    Tuesday, August 26, 2008 2:47 PM
    Moderator

All replies

  • By default, SQL Server Express doesn't accept remote connections; you can change this however.

    Regarding web applications, you can make them available to users accessing your server remotely; probably the one you added is available remotely already if you've turned on Remote Access on your server.
    Tuesday, August 26, 2008 11:34 AM
    Moderator
  • Thanks Ken,

     

    Ive now set up SQL to be accessed remotely.

     

    I'd like to know how can i access my web apps when im away from my home. I have turned on remote access on my server.

     

    I have seen at my work place (where they have some apps installed on the server) something like,

     

    http://123.123.123.123/nameOfApp/default.aspx

     

    When i tried this i got the standard "404" page not found error? what am i not doing??

     

    Thanks

     

     

     

    Tuesday, August 26, 2008 1:14 PM
  • Well, is the web app you created accessible from other client computers on your home network? Probably by typing something like http://servername/myapp/default.aspx? If so, then you would access it remotely by using the vanity URL you set up when you configured remote access, something like http://myurl.homeserver.com/myapp/default.aspx.

    If you can't even access the web application from another computer on your home network, then your server isn't properly configured yet. You should take a look at this web site, which contains a step by step walkthrough of creating a site on your server. If it's not useful to you, I'm going to have to recommend that you look for some good basic information on setting up and administrering web sites using Internet Information Server. There's a good bit of information that you'll need to understand what you're doing; way more than is really appropriate for this forum.

    Also, please be aware that using your server in this way isn't really supported by Microsoft. Their intention is that all normal server access will be through the shares or the server's management console. WHS owners should, in theory, never need to log in to the server directly (using Remote Desktop or KVM). So everything you're doing is "at your own risk" and "here there be dragons" type stuff. Smile
    Tuesday, August 26, 2008 2:47 PM
    Moderator
  • Thanks Ken U the MAN!!

     

    It works now, i could access the web app on any PC connected to my home network by using this http://servername/myapp/default.aspx so knew ive configured it correctly.

     

    When i tried this from a PC away from home https://123.123.123.123/myapp/default.aspx. The page would not load.

    However if i try this https://server.homeserver.com/myApp/default.aspx it WORKS!!

     

    i cant understand why? As https://123.123.123.123/ takes you to your home server page and so does https://server.homeserver.com/ ??

     

    Anyway Thanks alot Ken, you have just saved me hours of grief....

     


     

     

    Tuesday, August 26, 2008 3:09 PM