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
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

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Bridging Cloud and On-Premises Log Processing
  • Unifying SecOps and Observability for Enhanced Cloud Security in Azure
  • Essential Guidelines for Building Optimized ETL Data Pipelines in the Cloud With Azure Data Factory
  • Unleashing Serverless Computing With Azure Functions: Advantages, Best Practices and Scope

Trending

  • Integrating Security as Code: A Necessity for DevSecOps
  • Unlocking the Potential of Apache Iceberg: A Comprehensive Analysis
  • Measuring the Impact of AI on Software Engineering Productivity
  • Start Coding With Google Cloud Workstations
  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)

By 
Brian Lewis user avatar
Brian Lewis
·
May. 15, 13 · Interview
Likes (0)
Comment
Save
Tweet
Share
15.6K 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

  • Bridging Cloud and On-Premises Log Processing
  • Unifying SecOps and Observability for Enhanced Cloud Security in Azure
  • Essential Guidelines for Building Optimized ETL Data Pipelines in the Cloud With Azure Data Factory
  • Unleashing Serverless Computing With Azure Functions: Advantages, Best Practices and Scope

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • 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: