DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Simplified Development With Azure DevOps
  • Blueprint for Migrating an On-Premise Data Pipeline To Azure Cloud
  • NewRelic Logs With Logback on Azure Cloud
  • Benefits and Challenges of Multi-Cloud Integration

Trending

  • An Introduction to Build Servers and Continuous Integration
  • Five Free AI Tools for Programmers to 10X Their Productivity
  • Securing Your Applications With Spring Security
  • The Ultimate Guide to API vs. SDK: What’s the Difference and How To Use Them
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Deploy a File Server in the Cloud (WebDav on Windows Azure)

Deploy a File Server in the Cloud (WebDav on Windows Azure)

Brian Lewis user avatar by
Brian Lewis
·
May. 15, 13 · Interview
Like (0)
Save
Tweet
Share
14.81K Views

Join the DZone community and get the full member experience.

Join For Free

this month, my fellow it pro technical evangelists and i are authoring a new series of articles on 20 key scenarios with windows azure infrastructure services .  check out the list of articles here:
http://mythoughtsonit.com/2013/05/20-key-scenarios-with-windows-azure-infrastructure-services/ .

windowsazure497e851aa948 web-based distributed authoring and versioning, or webdav, is a set of protocols based on http that allows end-users to map a network drive over http and edit content and files stored on the web server. when webdav was first offered on microsoft server i had evaluated it and decided it did not perform well enough for me. the webdav extension to iis was completely rewritten back in the server 2008 timeframe and is worth taking a look at again.

in this article i will guide you step by step through the process of setting up webdav on server 2012 in a windows azure iaas environment. this will give you a solid performing file share on the internet over port 80 and the http protocol.

first you need an azure account. you can setup a free trail of azure. details can be found here:
http://mythoughtsonit.com/2013/04/step-by-step-guide-to-setting-up-a-windows-azure-free-trial/

second provision a server 2012 machine. watch a video of what to do here:

third open port 80 to this new server:

  1. in the azure portal select your 2012 server and choose the “endpoints” tab on the top.
    image
  2. click “add endpoint” at the bottom of the screen
    image
  3. enter the endpoint information for port 80 to port 80
  4. done.

next we need to install the iis webserver and webdav.

installing webdav on iis 8.0

  1. start server manager and go to “add roles and features”
  2. under server roles – add the web server (iis) role
    image
    image
  3. click through the wizard until you come to the role services section. then find and select “webdav publishing” and “windows authentication”
    image

    image

  4. click next and then install
    image
  5. when the install is finished you are ready to move on to the next section.
    image

configuring iis 8 for webdav

  1. after the installation finishes you need to configure the box for access. start the iis manager tool. choose the “default web site” on the left side. then click on “authentication”

    image

  2. open the windows authentication option and enable it.

    image

  3. open the “webdav authoring rules”

    image

  4. create a webdav rule. i choose to allow all users access to all content. a better security practice is to limit what users can use the service. it’s your data so you decide. winking smile

    image

  5. make sure webdav is enabled and that your access rule is set:
    image
  6. that is it… now your ready to access your webdav file share!

test and insure you can hit the web server by using your browser:

  • because you opened port 80 and installed iis 8 you should see the default web page when you browse to your servers internet dns name. example: http://yourdomainname.cloudapp.net/

    image

how to map a drive to your webdav server:

there are two ways i use to connect to the webdav server

how to map a drive to your webdav server from the win 8 gui:

  1. from windows explorer, right click on “computer” and select “map a network drive”

    image

  2. map your network drive by entering the address to your server
    example: http://yourdomainname.cloudapp.net/
    i selected “connect using different credentials” because my workstation was not joined to the server in anyway and i needed to use an account in the servers local sam database.

    image

  3. hit “finish” and enter your credentials.
    image
  4. now you will have a connected drive that you can access from windows explorer or any tool via the drive mapping.
    image

how to map a drive to your webdav server from a cmd box:

1.  hit windows start and type: cmd <enter>

2.  enter the command: net use [drive letter] [url]  example: net use e: http://yourdomainname.cloudapp.net/

WebDAV azure Cloud

Published at DZone with permission of Brian Lewis, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Simplified Development With Azure DevOps
  • Blueprint for Migrating an On-Premise Data Pipeline To Azure Cloud
  • NewRelic Logs With Logback on Azure Cloud
  • Benefits and Challenges of Multi-Cloud Integration

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: