Configure app environment and create an app in SharePoint server 2013

sharepoint server 2013 configure app environment
SharePoint deveopment training course

This SharePoint server 2013 tutorial, I have explained how to configure the app environment for deploying custom SharePoint apps in the SharePoint server 2013 on-premise environment. And, also we will see how to create an app using the visual studio in SharePoint 2013.

Configure App Environment in SharePoint 2013

First, we will create a forward lookup zone in windows server 2012.

Open your windows server, Click Start -> Open DNS Manager.

Right-click on Forward Lookup Zone -> Click New Zone. On the Zone Type “Pick Primary Zone”.

configure sharepoint 2016 app environment

Click Next -> Check All the DNS servers running on this domain.

configure sharepoint 2013 app environment

Click next and then provide the zone name “sharepointapps.com” then click next.

configure sharepoint app environment

Click next- > allow automatic updates -> Click next to finish.

configure app service environment sharepoint

So as of now, the new forward lookup zone has been created successfully.

configure app environment for sharepoint 2016

Create a CNAME for the domain name and Right Click on the App domain name -> Click New alias CNAME

configure app environment for sharepoint 2013
configure secure store service application in sharepoint 2013

In the Alias name box type ‘*’. In the FQDN (Fully qualified domain name) pick the forward lookup zone for the sharepoint sites domain and then Click Ok.

configure secure store service application in sharepoint 2016

CNAME has been created successfully.

To verify the new domain name

Open command prompt and Ping domainname.sharepointapps.com

Example:
Ping technologygeeks.sharepoint.com

configure forward lookup zone windows server 2012

After a successful reply of the IP address from your server wild card has been created successfully.

Let’s navigate to sharepoint server central administration to activate the following services

Microsoft Sharepoint Foundation Subscription setting services
App management services

Open SharePoint Central administration -> Navigate to system settings -> Click manage services on the server. Check both services are in started state or else start the services.

create apps in sharepoint 2019 using visual studio

You can also create subscription settings and app management service application via PowerShell and central administration.

After successful configuration of both service applications will go and configure app URL

Open sharepoint central administration and Click Apps.

create apps in sharepoint 2016 using visual studio

Under App management -> Click configure app URL.

create apps in sharepoint 2013 using visual studio

Enter the app domain and app prefix.

create apps in sharepoint 2013

Click Ok to complete the setup.

Create Apps using Visual Studio in SharePoint Server 2013

Now open visual studio -> under Office365/sharepoint -> App. Pick a template App for sharepoint 2013.

configure sharepoint 2016 app environment

Provide the name of the project “Helloworld”

Provide the developer site URL and select the type of app

  • Auto hosted
  • SharePoint hosted
  • Provider hosted

For my scenario, I have picked a SharePoint hosted app.

configure sharepoint 2013 app environment

Click Finish and Modify the default.aspx page with <h1></h1> tag.

configure sharepoint app environment

Click Build – > Deploy.

configure app service environment sharepoint

After successful installation of the app.

configure app environment for sharepoint 2013

Open the developer site and Click on the app -> Click Launch.

configure secure store service application in sharepoint 2016

Final Result:

configure forward lookup zone windows server 2012

You may like following SharePoint tutorials:

This SharePoint 2013 tutorial, we discuss how to configure the apps environment in SharePoint server 2013. Then we saw, how to create a SharePoint hosted apps using the visual studio in SharePoint server 2013.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope