Forums

This topic is locked

Viewing .asp files over a LAN connection?

Posted 23 Nov 2002 02:01:22
1
has voted
23 Nov 2002 02:01:22 Rob K posted:
I have just started a couple tutorials on workig creating a database driven site using DWMX and Access. I have gone through the process of creating a database, the database connection through ODBC, defined the site, pretty much everything so where I can view it. Now, how do I get others in my office to view these files? I have created a virtual directory in IIS so it works for me but when I tried to access the files through another computer over a LAN connection I couldnt see it. Do I have to use the "RUN" command just like how I do it on my computer? Would it still look similar to this? -> localhost/"mysite"/"my_file.asp". I tried to run it straight through a browser but that didnt work so I am going to try some other things to see if I wil be able to view it. I am basically clueless on what to do...is there settings that I have to set on the other computers other than the local host?

Thank you,
Rob

Replies

Replied 24 Nov 2002 00:18:38
24 Nov 2002 00:18:38 Dennis van Galen replied:
I develop mostly on a LAN, what I do is ask my sysadmin to create me a ftp account that dives into my folder on his server, for instance D:\fis-portal\webs/
It also has a data folder and a log folder, i believe :-/ I connect through ftp with UltraDev so i'm not sure what that structure is
my SQL server data in log files are in those probably, another web-app is on the same server D:\metabase\webs, it has the same structure, i login with ws-ftp and put the files that the developer mails me into the proper folders.

My sysadmin then registered domain name for each webs folder, 3 in total on that machine and applied virtual sites and permissions and stuff.

You can't just go browsing a .asp page from a C:\mysite/index.asp location, that won't work... You will get the same problem that i'm having with .aspx on IIS5:
dennisvg.homeip.net/ASPNET/Employees.aspx

you want to know the IP nr of the computer or give it a domain name, localhost on a different computer will look for a local webserver. I believe there's a windows command that gets the IP, run that on the computer with the webserver. then you can access it through your company using that IP nr, like so:
212.129.151.246/ASPNET/Employees.aspx

That's the same as the addres i used above, it's my door nr to the big LAN everyone calls Internet.

If I can find that command i will put it here.

with regards,

Dennis van Galen
DMXzone Manager

Extension, Tutorial and FAQ's Manager

Reply to this topic