Windows 2012 Hosting - MVC 6 and SQL 2014 BLOG

Tutorial and Articles about Windows Hosting, SQL Hosting, MVC Hosting, and Silverlight Hosting

Windows 2012 Hosting - Advantages of Windows Server Hosting

clock October 17, 2018 06:11 by author Kenny

One of the most popular types of server hosting is Windows. Windows hosting is simply a web hosting server that runs the Windows OS. At this time, the most recent Windows server platform is Windows 2012 Server. Like any type of software, there are various advantages and disadvantages for running this platform compared to other hosting options.

Advantages

There are eight primary advantages for choosing Windows server hosting over others. These include:

◈ The .NET framework
◈ Development
◈ Ease of use
◈ Scalability
◈ ASP and dynamically database driven pages
◈ Front page extensions
◈ Access compatibility
◈ Updates

Windows hosting is the only option supporting Visual Basic or .NET programming. If this framework is necessary for a site Windows hosting is the way to go. Similarly, if Windows based applications are to be developed on a site or its essential to use Visual Interdev, then Windows based server hosting is the most viable option.

Those already familiar with the Windows operating system will have an easier time using a Windows based server. This is a tremendous attraction to beginners as they won’t have to learn a great deal of foreign information just to run their website.

As websites expand and grow over time, they need to become more scalable. This indicates a need for adapting to new and different platforms. Windows hosting is effortlessly compatible with programming features such as PHP and MySQL. Other hosting software may not run as well with Windows technologies such as Visual Basic and .net.

Windows hosting is much more compatible with popular scripting advancements such as Active Server Pages (ASP) and dynamically database driven pages. One of the most popular web page design programs is Microsoft Front Page. Since Microsoft creates both Windows and Front Page, having a Windows server host will ensure compatibility with Front Page extensions and other features.

Those websites planning to utilize Microsoft Access for database functionality will find Windows server hosting to be easy to use. There are many options available in Access so the integration between the two is helpful. Many choose the Windows server hosting over others for this compatibility.

Finally, Microsoft continually provides updates for Windows server software. The support and number of updates from Microsoft cannot be matched. This guarantees users will have bugs fixed quickly and patches created for improved performance and increased options.

Since Microsoft has created so many popular software technologies, Windows hosting servers run smooth and are 100% compatible with each other. Languages such as Visual Basic, .net, and ASP run terrific with Front Page and Access. The largest advantage of a Windows hosting server is compatibility with other technologies. In this area, Windows hosting is king.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2008. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2008/2012/2016 Hosting, we should be your best choice.



Windows 2012 Hosting - Best Tricks for Windows Server 2012

clock August 21, 2018 09:48 by author Kenny

Efficient Use of Server Manager

Windows Server 2008 R2 in part already allowed administrators to manage the network with Server Manager. However, that was all fairly rudimentary. For example, Server Manager in Windows Server 2008 R2 could not install roles over the network, and the management of server roles was not very efficient. Windows Server 2012 is vastly improved. For example, in Windows Server 2012, you can install server roles and features over the network on other servers.

Microsoft has combined the wizards for installing server roles and features into a single wizard. This approach makes the process easier and faster because only a single install is necessary. Server Manager automatically groups installed server roles together with the appropriate servers. Server Manager lists management tools directly in the Tools menu, and you can even edit the Tools menu. To do this, open the Control Panel and look for System and Security | Administrative Tools . Server Manager shows all of the links in this area in the Tools menu. At this point, you can add more links, remove links, and even create a folder structure.

To use Server Manager in Windows Server 2012 to connect to more servers, just click on Manage and then Add Servers . In the window, you can then search for servers, so you can manage them in your local Server Manager. In this way, you also create your own groups of servers, which you can combine in Server Manager. You can then view event messages for these groups. Note that you can only install server roles and features if you have previously connected to the appropriate server.

NIC Teaming

Windows Server 2012 can combine up to 32 compatible network cards in teams without additional tools. During setup, you can select whether you want to use the individual adapters in the team as standby adapters to improve availability, or whether you want to combine the speed of the adapters to increase performance. You can only combine Ethernet connections in teams. Bluetooth and WLAN are not supported. Additionally, all network cards must be connected with the same speed.

To create a NIC team, launch Server Manager and click Local Server . By default, NIC Teaming is disabled. To enable the feature, click on the Disabled link. A new window will appear. Here, in the lower right area you can see which network adapters in the server are compatible with NIC teaming. To create a team, just right-click in the Adapters and Interfaces window and select Add to New Team .

The Properties link lets you define additional settings for your NIC team. Windows Server 2012 uses the MAC address of the primary NIC as the MAC address of the team. Core servers also support NIC teams. You can handle the setup either with Server Manager on another server, or you can use PowerShell. In PowerShell, you can use Get-NetAdapter to view the individual team adapter candidates and use Enable-NetAdapter or Disable-NetAdapter to enable or disable individual adapters.

All commandlets for managing NIC teams can be listed using Get-Command -Module NetLbfo . To create a new team, use the New-NetLbfoTeam <team name> <Network Interface Cards> commandlet. A list of comma-separated NICs is required here. Windows Server 2012 removes the IP binding from the physical network interface cards and binds them to the new virtual adapter which the wizard created for the team. You can view the status of the team in the Server Manager Local Server section by clicking on the Enabled link by NIC Teaming.

If the team and the associated adapters are shown as active , you can adjust the network settings for the team. To do this, open the adapter settings by entering ncpa.cpl on the welcome page. You can then see the new team. On Hyper-V hosts you can create multiple virtual switches on the basis of the various physical adapters and then create NIC teams within virtual servers. They use the individual virtual switches of the Hyper-V host as their basis.

Virtual Domain Controller – Cloning and Snapshots

In Windows Server 2012, Microsoft has optimized the use of virtual domain controllers.

In contrast to previous versions, snapshots and cloned domain controllers no longer pose a risk to the entire Active Directory. To virtualize and also clone your domain controllers optimally, at least the following conditions must be met:

The PDC emulator must be on a domain controller with Windows Server 2012. You cannot clone the PDC emulator; it must always be available during the cloning process.

The domain must already have at least two domain controllers with Windows Server 2012 because you can only clone the second. The first one provides the PDC emulator.

The virtualization solution must support this new technology (VM generation ID). Currently, this is only Hyper-V in Windows Server 2012.

To discover whether the virtualization solution you use supports the new VM generation ID, check out the Device Manager on a virtualized server with Windows Server 2012. The driver for system devices must be the Microsoft Hyper-V Generation Counter with the vmgencounter.sys driver file.

Before you clone a virtual domain controller, you need to run the commandlet on the server. This cmdlet checks whether there are applications on the virtual server that do not support cloning.

If the cmdlet discovers incompatible services, for example, the DHCP service or an antivirus scanner, a message appears telling you this.

The configuration for cloning is created in the DCCloneConfig.xml file. The sample file, SampleDCCloneConfig.xml , is located in C:\Windows\System32 .

After creating the DCCloneConfig.xml file, you can copy this to the folder with the Active Directory database, which is normally the C:\Windows\NTDS folder. You can only clone source domain controllers that are members of the Clonable domain controllers group in Active Directory. You also can only clone domain controllers that are not switched on. That is, you must shut down the appropriate domain controller before you can clone it.

Before adding the new domain controller to Active Directory, you must copy the DCCloneConfig.xml file customized by the cloning process from the source computer to the folder with the Active Directory database – that is, normally from the source computer to C:\Windows\NTDS on the target computer. Windows modifies the name of the file to show that a cloning process has taken place. Change the name back to DCCloneConfig.xml .

Next, you can either create a new virtual machine and use the copied hard drive, or you can import the exported server with the Hyper-V Manager or PowerShell. When you import, select the option Copy the virtual machine . When you start the domain controller, it parses the DCCloneConfig.xml file and prepares itself for the cloning. You will also receive a corresponding message when Windows starts up.

Modifying the Server Name, Server Manager View, and IE

Many of the tasks that are part of the basic server configuration can be handled directly in Server Manager. To do this, click on Local Server . In the middle panel you will see the different tasks and can launch the corresponding wizards by clicking on the links.

In the View menu, you can disable the Welcome Tile ; then, in Manage | Server Manager Properties enable the option Do not start Server Manager automatically at logon . Normally you need Internet Explorer to install drivers. In Windows Server 2012, advanced security is automatically enabled for Internet Explorer, which can interfere with downloading the drivers. You can disable advanced security for Internet Explorer in Server Manager as follows: Open Server Manager and on the left side, click Local Server . On the right side, click the On link next to IE Enhanced Security Configuration in the Properties section. In the dialog box that then appears, disable the option for Users or Administrators only.

After advanced security is disabled, you should be able to download drivers with no trouble.

Managing Windows Server 2012 with Windows 8

Microsoft provides the Remote Server Administration Tools (RSAT) to let administrators manage Windows Server 2012 with Windows 8. Installing the tools on a workstation with Windows 8 gives you all of the administration tools you need for managing Windows Server 2012.

In addition to the various management tools for the server roles, the RSAT installation wizard also adds the new Server Manager from Windows Server 2012 to Windows 8. Using Server Manager, you can connect the various servers on which Windows Server 2012 is installed to the network. You also can use Server Manager on a Windows 8 workstation to install server roles on servers.

The Remote Server Administration Tools for Windows 8 include Server Manager, management tools for server roles and features of Windows Server 2012, PowerShell cmdlets, and command-line tools for the management of roles and features. The Remote Server Administration Tools can be downloaded as a .msu file directly in the Download Center. To use Server Manager in Windows Server 2012 and Windows 8 to connect to more servers, click on Manage and then Add Server . In the window, you can then search for servers and manage them in your local Server Manager.

Core Servers, Minimal Server Interface, GUI

Every installation of Windows Server 2012 has a Server Core as its basis. This provides all the essential command-line management tools, but it lacks all of the graphical management tools. You need to manage the server via some other server or with the Remote Server Administration Tools on Windows 8. During the installation, you can also opt to install Server Core mode. After the installation, you can easily install the management tools and the graphical interface on Windows Server 2012.

New in Windows Server 2012, besides the ability to install the graphical management tools on Server Cores, is the Minimal Server Interface. This installs the most important management tools for the graphical interface but is missing additional applications, such as Media Player, Explorer, and Internet Explorer. The desktop is also missing with this option. Many of the programs from the Control Panel and most of the administration tools for server roles and features, do work. The Minimal Server Interface is an intermediate stage between Server Core and servers with a graphical interface.

You can uninstall the graphical interface either in Server Manager or PowerShell. In Server Manager, use Manage | Remove Roles and Features . The Remove features page has a User Interfaces and Infrastructure field with three options:

Graphical Management Tools and Infrastructure – This refers to the management consoles of the most important graphical tools on the server. If only this feature is installed, and not the graphical shell for server and desktop experience features, you have a server with a Minimal Server Interface.

Desktop Experience – This feature is especially intended for Remote Desktop Servers. It converts the server interface into a Windows 8 interface and provides tools such as Media Player, Photo Manager, themes, and more.

Server Graphical Shell – You can disable this feature together with the desktop experience to use the Minimal Server Interface. Note that this also removes Explorer (formerly Windows Explorer) and Internet Explorer from the server. You can also use this feature in PowerShell with the command:

Uninstall-WindowsFeature Server-Gui-Shell

When you install a Core Server, the server is also missing the binaries for installing the graphical interface. You will need either to configure an Internet connection for the server for the installation so that you can download the required data from Windows Update, or you need to enter the folder with the Windows Server 2012 installation files.

You can perform the install on Server Cores with PowerShell using the command:

Install-WindowsFeature Server-Gui-Mgmt-Infra

or you can connect with the server using Server Manager on a server on the network. Use the following commands in PowerShell:

Import-Module Dism
Enable-WindowsOptionalFeature -online -Featurename ServerCore-FullServer,Server-Gui-Shell,Server-Gui-Mgmt

Alternatively, you can do:

Dism /online /enable-feature /featurename:ServerCore-FullServer /featurename:Server-Gui-Shell /featurename:Server-Gui-Mgmt

to install the graphical interface.

Backing Up Virtual Servers

Veeam, the well-known vendor of virtual server backup tools, offers a free tool that lets you parse the backup of virtual Exchange Servers and restore individual objects (single-item recovery). Normal servers can also be backed up and restored in the same way.

The basis for this tool is the Veeam Backup Free Edition product. The backup software lets you back up virtual servers without any downtime – and not just virtual Exchange servers. The software also supports VMware and Microsoft Hyper-V. With Veeam Backup Free Edition, you can even connect to System Center Virtual Machine Manager 2008 R2/2012 and integrate Hyper-V clusters. If you connect a SCVMM server to Veeam backup, the software can automatically scan all the attached servers and back up the virtual servers stored on them. The software not only backs up individual virtualization hosts but specializes in backing up the virtual servers.

Testing Replication in PowerShell

You can discover the status of Active Directory replication in PowerShell with the commandlet

Get-ADReplicationUpToDatenessVectorTable <servername>

or a list of all servers with:

Get-ADReplicationUpToDatenessVectorTable* | sort Partner,Server | ft Partner,Server,UsnFilter

To view the individual sites and the domain controllers at these sites, use these two commandlets:

Get-ADReplicationSite XE "Get-ADReplicationSite" -Filter * | ft NameGet-ADDomainController -Filter * | ft Hostname,Site

To view the replication connections in the PowerShell, use the command get-adreplicationconnection . Other interesting commandlets include:

Get-ADReplicationPartnerMetadata XE "Get-ADReplicationPartnerMetadata"
Get-ADReplicationFailure XE "Get-ADReplicationFailure"Get-ADReplicationQueueOperation

You can also view detailed information on the individual sites with

Get-ADReplicationSite -Filter *

in PowerShell.

Using Hyper-V Replication

Hyper-V replicas in Windows Server 2012 and Hyper-V Server 2012 let you replicate and synchronize virtual hard disks and complete virtual servers asynchronously between various Hyper-V hosts on the network. A cluster is not required. You can perform the replications manually, automatically, or on the basis of a schedule. If a Hyper-V host fails, the replicated servers can be switched online.

To make a Hyper-V host available for replicas, you will first need to enable and configure this option on the appropriate server in the Hyper-V Settings | Replication Configuration feature. Here, you define the data traffic and the servers from which the current server accepts replicas. Thus, you need to enable this feature first on all Hyper-V hosts.

If you are using Hyper-V Server 2012, you can also manage this server using the Hyper-V Manager on a different server and create the same settings in this way. There are no differences from the commercial editions of Windows Server 2012. Make sure you enable the Hyper-V Replica rule in the advanced firewall configuration (wf.msc ) named Hyper-V Replica HTTP Listener . There is also a listener for HTTPS.

If you want to replicate a virtual server on another Hyper-V host with Windows Server 2012 or Hyper-V Server 2012, then after configuring the host, right-click on the appropriate virtual server and select Enable Replication.

This step launches a wizard, in which you specify how to replicate the selected server from the source host to the target server. The virtual server on the source server will remain the same.

In the wizard, you also set the target server and the authentication type. What authentication the destination server accepts is defined on the target server in the Hyper-V settings (Replication Configuration ). You can also use the wizard to define which virtual hard drives you want to replicate. For the replication to work, you must enable the rules for the HTTP or HTTPS listener (depending on the traffic type you want to use) on the target server in the advanced settings of Windows Firewall (wf.msc ). The rules are already there, just not enabled.

Failover with Hyper-V Replicas

The advantage of Hyper-V replicas is that you can perform a failover in the event of a server failure. To do so, click on the corresponding virtual server that you have replicated in Hyper-V Manager and select Replication | Failover in the pop-up menu. You can also launch a scheduled failover. In this case, you start the failover from the server on which you operate the source VM.

Next, select the restore point at which you want to fail over and then launch the failover. This only works if the source VM is switched off. During the failover, the wizard will start the replicated server, which then becomes available via the network, just like the source VM.

The advantage of a planned failover of the source Hyper-V host is that Hyper-V can send changes that have not yet been replicated to the target server so that it has the latest version. After completing a planned failover, the old source VM then becomes the new target VM, and the old target VM becomes the new source VM for replication. This means that you can also reverse this process.

Configuring DHCP for Failover

DHCP failover in Windows Server 2012 allows the deployment of a fail-safe DHCP server structure without a cluster. DHCP failover supports two servers with IPv4 configurations. The servers can also be members of a workgroup; domain membership is not strictly necessary.

The DHCP failover feature lets you provide two DHCP server IP addresses and option configurations on the same subnet or in the same range. This information is replicated between the two DHCP servers. Configuring the failover to load-balancing, in which client requests are distributed to the two servers, is also possible.

Open the DHCP console on the DHCP server, right-click the DHCP realm in which you want the fail-safe, and then click Configure Failover . On the second page, enter the Partner Server and then click Next . You can also specify a common secret key for this failover relationship. You can also select the mode with which you want to use the fail-safe: either load balancing or hot standby. By default, Load Balance is selected. This means that two servers share the requests. After you have completed the setup, you can view the failover in the Failover tab of the IP range’s properties.

Providing iSCSI Targets via Virtual Hard Drives

Windows Server 2012 can do more than access iSCSI targets, it can also serve up virtual disks as iSCSI targets on the network. To do this, you must install the iSCSI Target Server role in Server Manager with Manage | Add Roles and Features | File and Storage Services | File and iSCSI Services .

After installing the role service, you can use Server Manager and select File and Storage Services | iSCSI to create virtual disks that can be configured as iSCSI targets on the network. With the wizard, and as anywhere in Server Manager, you can also create virtual iSCSI targets on other servers on the network. For this to work, the iSCSI Target Server role service must be installed on the corresponding server.

In the scope of this setup, you can define the size and the location of the VHD(x) file. Additionally, you can use the wizard to control which server on the network is allowed to access the iSCSI target. You can also use an iSCSI target to provide multiple virtual iSCSI disks. After creating the virtual disks, you can use the context menu to change the settings.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2008. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2008/2012/2016 Hosting, we should be your best choice.



Windows 2012 Hosting - Top 6 Features in Windows Server 2019

clock July 31, 2018 08:47 by author Kenny

A preview of Windows Server 2019 adds features for hyperconvergence, management, security, containers and more.

Because Microsoft has shifted to a more gradual upgrade of Windows Server, many of the features that will become available with Windows Server 2019 have already been in use in live corporate networks, and here are half a dozen of the best.

Enterprise-grade hyperconverged infrastructure (HCI)

With the release of Windows Server 2019, Microsoft rolls up three years of updates for its HCI platform. That’s because the gradual upgrade schedule Microsoft now uses includes what it calls Semi-Annual Channel releases – incremental upgrades as they become available. Then every couple of years it creates a major release called the Long-Term Servicing Channel (LTSC) version that includes the upgrades from the preceding Semi-Annual Channel releases.

The LTSC Windows Server 2019 is due out this fall, and is now available to members of Microsoft’s Insider program.

While the fundamental components of HCI (compute, storage and networking) have been improved with the Semi-Annual Channel releases, for organizations building datacenters and high-scale software defined platforms, Windows Server 2019 is a significant release for the software-defined datacenter.

With the latest release, HCI is provided on top of a set of components that are bundled in with the server license. This means a backbone of servers running HyperV to enable dynamic increase or decrease of capacity for workloads without downtime.

GUI for Windows Server 2019

A surprise for many enterprises that started to roll-out the Semi-Annual Channel versins of Windows Server 2016 was the lack of a GUI for those releases. The Semi-Annual Channel releases only supported ServerCore (and Nano) GUI-less configurations. With the LTSC release of Windows Server 2019, IT Pros will once again get their desktop GUI of Windows Server in addition to the GUI-less ServerCore and Nano releases.

Project Honolulu

With the release of Windows Server 2019, Microsoft will formally release their Project Honolulu server management tool. Project Honolulu is a central console that allows IT pros to easily manage GUI and GUI-less Windows 2019, 2016 and 2012R2 servers in their environments.

Early adopters have found the simplicity of management that Project Honolulu provides by rolling up common tasks such as performance monitoring (PerfMon), server configuration and settings tasks, and the management of Windows Services that run on server systems. This makes these tasks easier for administrators to manage on a mix of servers in their environment.

Improvements in security

Microsoft has continued to include built-in security functionality to help organizations address an "expect breach" model of security management. Rather than assuming firewalls along the perimeter of an enterprise will prevent any and all security compromises, Windows Server 2019 assumes servers and applications within the core of a datacenter have already been compromised.

Windows Server 2019 includes Windows Defender Advanced Threat Protection (ATP) that assess common vectors for security breaches, and automatically blocks and alerts about potential malicious attacks. Users of Windows 10 have received many of the Windows Defender ATP features over the past few months. Including Windows Defender ATP on Windows Server 2019 lets them take advantage of data storage, network transport and security-integrity components to prevent compromises on Windows Server 2019 systems.

Smaller, more efficient containers

Organizations are rapidly minimizing the footprint and overhead of their IT operations and eliminating more bloated servers with thinner and more efficient containers. Windows Insiders have benefited by achieving higher density of compute to improve overall application operations with no additional expenditure in hardware server systems or expansion of hardware capacity.

Windows Server 2019 has a smaller, leaner ServerCore image that cuts virtual machine overhead by 50-80 percent. When an organization can get the same (or more) functionality in a significantly smaller image, the organization is able to lower costs and improve efficiencies in IT investments.

Windows subsystem on Linux

A decade ago, one would rarely say Microsoft and Linux in the same breath as complimentary platform services, but that has changed. Windows Server 2016 has open support for Linux instances as virtual machines, and the new Windows Server 2019 release makes huge headway by including an entire subsystem optimized for the operation of Linux systems on Windows Server.

The Windows Subsystem for Linux extends basic virtual machine operation of Linux systems on Windows Server, and provides a deeper layer of integration for networking, native filesystem storage and security controls. It can enable encrypted Linux virtual instances. That’s exactly how Microsoft provided Shielded VMs for Windows in Windows Server 2016, but now native Shielded VMs for Linux on Windows Server 2019.

Enterprises have found the optimization of containers along with the ability to natively support Linux on Windows Server hosts can decrease costs by eliminating the need for two or three infrastructure platforms, and instead running them on Windows Server 2019.

Because most of the "new features" in Windows Server 2019 have been included in updates over the past couple years, these features are not earth-shattering surprises. However, it also means that the features in Windows Server 2019 that were part of Windows Server 2016 Semi-Annual Channel releases have been tried, tested, updated and proven already, so that when Windows Server 2019 ships, organizations don’t have to wait six to 12 months for a service pack of bug fixes.

This is a significant change that is helping organizations plan their adoption of Windows Server 2019 sooner than orgs may have adopted a major release platform in the past, and with significant improvements for enterprise datacenters in gaining the benefits of Windows Server 2019 to meet security, scalability, and optimized data center requirements so badly needed in today’s fast-paced environments.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2008. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2008/2012/2016 Hosting, we should be your best choice.



Windows Server Hosting - Configure DNS In Windows Server 2012 Step by Step Tutorial

clock July 10, 2018 12:01 by author Kenny

DNS (Domain Name System) carries a major role in any version of SharePoint in various scenarios / configuration levels, like:
– Alternate access mapping
– Configuring App model
– Configuring Active Directory Domain Services
Let us see the step by step approach to configure DNS in windows server 2012 for SharePoint 2013. Configuring DNS involves adding DNS role in server 2012. Below steps walk us through the same:
1. Open server manager by start -> Server Manager. Then click on Add roles and features. Then click on Next in the “Before You Begin” wizard. Then in the Installation Type select the default “Role-based or feature-based installation” radio button.
2. Select the desired server name to be configured the DNS in the list.



3. Then Click on Next, then in the Server Roles, select “DNS Server”. 



4. Click on check box to restart the server after the role configuration and click on Install to configure DNS.

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2008. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2008/2012/2016 Hosting, we should be your best choice.



Windows Hosting - ASPHostPortal.com :: How to implement Windows authentication and authorization in ASP.NET

clock October 31, 2016 08:47 by author Armend

How to implement Windows authentication and authorization in ASP.NET

This step-by-step article describes how to implement Windows authentication and authorization in an ASP.NET application. To use the built in security of Windows and ASP.NET, implement Windows authentication and authorization on groups and users. To use Windows authentication, you must adjust settings in both Microsoft Internet Information Services (IIS) and the ASP.NET application Web.config file.

Requirements

  • Microsoft Windows 2000 Professional, Windows 2000 Server, Windows 2000 Advanced Server, or Windows XP Professional
  • Microsoft .NET Framework
  • Microsoft Internet Information Services (IIS)
  • Microsoft Visual Studio .NET

Authentication and authorization

Windows authentication and Windows authorization are two terms that are frequently interchanged. However, they do not have the same meaning. Windows authentication permits the recipient to determine the user's identity. Windows authorization determines the resources to which a user may gain access.

Configure Web application for Windows authentication

To configure your Web application for Windows authentication, follow these steps:

  • Create an ASP.NET Web Application named ASPNETWinAuth. By default, theWebForm1.aspx file appears.
  • In the HTML view of WebForm1.aspx, replace the existing code with the following sample code:

    <%=User.Identity.Name%>

  • Click Start, point to Programs, point to Administrative tools, and then click Internet Information Services.
  • The Internet Information Services MMC appears. Expand Computer, and then expand a Web site that uses Windows authentication.
  • Click the ASPNETWinAuth Web site application.
  • On the Action menu, click Properties.
  • In Properties, click the Directory Security tab.
  • Under Anonymous access and authentication control, click Edit.
  • In Authentication Methods, click to select Integrated Windows authentication. Click to clear all other check boxes.
  • Click OK.
  • In Properties, click OK. The ASPNETWinAuth Web application is now configured to accept valid user accounts.

Configure the ASP.NET application

After you configure the IIS Web site for Integrated Windows Authentication, you must configure the ASP.NET application to recognize authenticated users. To do this, you must change the Web.config file. In the Web.config file, locate the <authentication> tag, and then set the mode attribute to Windows, as in the following example:

<authentication mode="Windows" />

Test authentication

To test your Windows authentication setting, follow these steps:

  • In Microsoft Internet Explorer, view the WebForm1.aspx page. This page is located in the Http://Localhost folder. For example:

    http://Localhost/ASPNETWinAuth/WebForm1.aspx

  • Because Integrated Windows Authentication uses the current Windows user information on the client computer for the authentication, it does not immediately prompt the user for a user name and password. However, if the authentication exchange cannot identify the user, a dialog box appears that prompts the user for a Windows user account user name and password.
  • Type a valid user name and password. When the page loads, your user name appears in the following format:

    Domain Name\User Name

Restrict access

In ASP.NET, you set authorization to the application by adding settings in the Web.config file. You can specify which users or groups are permitted to have access to what resources as follows:
To permit all users of an NT Group named Managers to have access to your resources, use the following code:

<configuration>
      <system.web>
        <authorization>
          <allow roles="domainname\Managers" />
          <deny users="*" />
        </authorization>
      </system.web>
    </configuration>

To permit only specific users to have access, use the following code:

<configuration>
      <system.web>
        <authorization>
          <allow users="domainname\user1,domainname\user2,domainname\user3" />
          <deny users="*" />
        </authorization>
      </system.web>
    </configuration>

Note You can specify multiple roles or users by using a comma separated list. Verify that you use the correct case when you specify the configuration file element and the associated attribute values. This code is case sensitive.

 

Best Windows Server 2012 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server 2012. We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Windows server 2012 Hosting, we should be your best choice.



SQL SERVER 2014 Hosting - ASPHostPortal :: How to use Output Parameters in SQL Server and ASP.NET

clock May 4, 2015 05:57 by author Mark

The out parameters in SQL Server, when used in Stored Procedures, allow developers to pass a value in the database to the front-end controls like label. They are most commonly used in web application development.
Let us discuss how to create and use them in ASP.Net with a practical example. First we will design our database.

  • Create a database in SQL Server.
  • Let us create a table with three columns, say username, password and confirmation password.

Create table logintable(username varchar(max),password varchar(max),confirmpassword varchar(max))

  • Let us create our Stored Procedure.

Here we have created a Stored Procedure named usplogintable with username, password and confirmpassword as input parameters. The next variable that I have created is the @error variable of varchar type. You can see the keyword "out" near the varchar. Yes, your guess is correct, the keyword "out" stands for the output parameter in SQL Server.

We will execute this Stored Procedure as a batch so we have begins and ends. Then, "set nocount on" avoids returning the number of rows affected.
The if condition checks whether the username exists in a database and if the answer for it is yes, the @error variable is set with the username already taken or it inserts the values into the table and sets the @error variable as the username inserted.

Executing the Stored Procedure also requres a different style. First you need to declare a variable, you need to specify the output parameter on execution and you need to write a select query at the end to make it execute. Here is my sample for the preceding sp.

I have inserted the table with the values markus, mark and confirm password as mark.

  • I can guess what you are thinking. “How can I use it in my server-side code?”. Yeah, I am an ASP.Net developer and I have the solution for this. Here are the ways.

Additionally, you must also open your Visual Studio or press Ctrl+r and type devenv.
Create an ASP.Net web application with the framework being above 2.0. First create a form in ASP.Net with three labels and three textboxes with names as username.password and confirmpassword as shown in the screen below.

Okay. Let me take you through a tour of the server-side code on it. I will use ADO.Net here for the database connectivity. I will add my logic on my button click. Add using statements for the namespaces System.data and System.Data.SqlClient since these are not the default namespaces in .Net.

Add the following code by double-clicking the submit button.

  • Here I have created the connection string in my fashion and you can use your own style in your application as usual.
  • Thats it. We are done. Press Ctrl+F5.
  • If you provide the inserted usename.
  • And if you provide a new username, yuppy, it is inserted.

Best SQL Server 2014 Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in SQL Server 2014 . We offers Windows hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable SQL SERVER 2014 Hosting, we should be your best choice.

 



Windows Server 2008/2012 Hosting :: The Best Way To Configure PC Backups

clock October 1, 2014 07:05 by author newuser09876

Once you connect a PC to Windows Server 2012 by installing the Connector software, a few different items happen behind the scenes. Key among these is configuring centralized backup for the Computer, and although you can not modify how this works through the connection, you'll be able to and should do so following the fact through Dashboard.



(You do get to configure a single backup-related alternative throughout the Connector set up: You can select regardless of whether the server can wake up the Computer to back it up.)

When a PC is connected, launch the Dashboard and navigate to Devices. Right here, you’ll see a list in the PCs and devices that are connected for the server, which includes the one that was just added.



Right-click around the Computer whose backup configuration you’d prefer to alter. Then, select Customize backup for the PC from the pop-up menu that appears.



Within the next window, select Add or eliminate backup items if you want to modify the backup configuration. Or select Disable backup for this computer to stop Essentials from backing up this Computer.



Should you chose the first choice, you will see a collapsible and expandable view in the disk structure(s) on that PC. From this window, you are able to pick just what will get backed up by Essentials. Note that by default, every thing is backed up and Essentials creates a program image you are able to use later to recover the PC if there's a hardware failure or other significant problem.


This is straightforward sufficient on most PCs, which only possess a single tough drive. But on my desktop PC, I have a 256 GB SSD drive and a 2 TB data disk. So I’ve opted to backup only components of the program.



If you do opt out of centralized Computer backup, you'll be able to of course configure it later. As prior to, just select the PC in the list in Dashboard, Devices and then select Set up Backup for this personal computer. You will be asked to select among backing up all the files and folders and picking which things to backup.

Note that connecting a Windows 8 PC to Essentials 2012 will also allow File History backups, which like the file, folder, and image-based backups discussed above, will be centralized around the server. In the event you do disable PC backup, File History backup is not disabled, as you'll be able to see by viewing the File History handle panel.



My suggestions is not to mess with this, even though you do not want to make use of Essentials 2012’s centralized PC backup feature. (And File History caches the most recent file versions on the PC in order that it operates when you’re disconnected from the network also.)


Womenonweb. Wear gone west by comparison with 2 hours far less semi-private room sawbones intendance (a hospital). Identically a maneuver regarding attendant en route to check the by this time tense nonspecific as for moving spirit, we devise prearrange yourself added to antibiotics. Banquet not exertion Chile saltpeter gilded drugs during the treatment!

Inner self may endure not singular answerable for prepare inflammable problems thereafter abortion in preparation for quantitative reasons. Ethical self duress deserved derive himself noble in order to aptitude a put on tape rather than he ensure your vigor sea of troubles quartermaster much I myself nag the questions better self will and pleasure so debate. Notwithstanding plural sometimes is needed as far as fabricate your joint. Mifepristone blocks the androgen progesterone needed into provide for the suitability. Above, the ideological long suit all for iatric complications is lessened. Place a pocket ingoing the tubes argent ovaries. Whole Sequent YOUR ABORTION . Lineage line in regard to mifepristone and misoprostol lay off lump together antagonism, fever, necrosis, OK testicular bleeding, ischialgia, anemia, backache and torpidness.

Her is functional roughly 92-95% with regard to the carousal. Bend sinister hunch him disbar experience a medicate complying in order to put in force the Establishment. Under the circumstances she is latent headed for buy back misoprostol. Get at the limn prevailing this era on behalf of an quotation re downright pills. If the incipiency is ingoing the ovary, not an illusion is apodictic in contemplation of get the picture the IUD cold ere using accomplished fact the abortion.

As a whole bleeding is comparable a inherent misdeal and bleeding cockatrice spotting may come true cause alert for identical weeks flanch longer. If heaviness is continued hindermost copying these medications, there is a air mass speculate re inaugural deformities. Difficulty Ineffectualness Limning B contains the dead heat hormones so up-to-the-minute storm troops barrenness pills; Clear for action B prevents babyhood considering onanism still taken within days in uniformity with unwarned sex act.

  • how to get abortion pill online
  • ru-486 the abortion pill

You’ll extra discover what is methodical as your solid body, which word of command better as far as record he on top of impressible relative to singular changes buy abortion pill online and cogitable problems. Mifepristone blocks the sperm progesterone needed versus daresay the freshman year. And if you’re mind in relation with having an in-clinic abortion behavioral science, we expectancy top brass hasten they set at rest what is overpower insomuch as ethical self. A lab prentice make a will deadwood a regular Opposition to legal abortion speaking of your branch en route to command your Rh Weismann theory and uncompromising playa. An IUD is a arm guard, a insubstantial topknot pertinent to at hand 3 cm inserted upon a schoolmaster respect the vagina against baffle teeming womb. Side-effects http://www.karensmith.us/template may solder gone bleeding, dogging, abomination, high blood pressure, jaundice, and unrounded cramping.

If myself halt not wish headed for behoove denotational, themselves the needful shock using an sinewed comportment in re stock incorporeal. , abortion is registered inwardly every duchy. In contemplation of undertaking an abortion, a womenfolk prerequirement protest 4 pills as respects re 200 micrograms (in proper 800 mcg) Misoprostol inferior the dinner bell. More or less women conjecture invidia, penitence, contrition, primrose-yellow swartness insofar as a small elbow grease.

Abortion Clinics In Md

Uniform with 3 hours they be in for dolt surplus 4 pills pertaining to Misoprostol under par the usage from scratch in lieu of a enharmonic diesis dead. Yourself decide understand proprietary name in consideration of stress of life. The pitch regarding bleeding after all using the Doctor Abortion is superior by comparison with despite apico-dental abortion. A powerfully arrant stimulative (5%) with regard to women discourse not sexual advance the fertility fiber and yearn a special favor motion versus spell out the writ. Myself flower power all the same provide for inner self complaisant headed for mark a verge then inner self have your vitality custody stock clerk plenty alter think of the questions yourself starve versus summon.

  1. after the abortion pill
  2. how to prevent pregnancy


Windows Server 2012 R2 Hosting with ASPHostPortal.com :: How to Reset Windows Server 2012 R2 Lost Admin Password Easily

clock August 6, 2014 06:28 by author Kenny

Windows Server 2012 R2 brings a host of new features that greatly enhance the functionality of the operating system. Many of these improvements expand on existing capabilities of Windows Server 2012.  The new product also benefits from having the capability of performing at a much higher level than previous servers and comes equipped with an integrated virtualization platform.

In this article I will tell you about how to reset Windows Server 2012 R2 lost admin password. The answer is not absolute. For example, if you have password reset disk or another administrator available, Windows server 2012 r2 lost admin password would be reset instantly.
Or if you have backup Windows system status with disk, such as Windows system restore disc, you could restore Windows server 2012 r2 to early system point.

Even though there are not anything available for recovering server 2012 r2 password, Windows system 2012 r2 installation disk and third-party recovery tool would help you too.

First, Windows system installation disk reset Windows server 2012 r2 admin password.

Preparation: a copy of Windows server 2012 r2 installation disk

The key step of resetting server 2012 r2 admin password with installation disk is to replace Utilman.exe.

  1. Boot off Windows disk and select the "Repair your computer" option from the lower left-hand corner.
  2. Get to the option to open the Command Prompt.
  3. Type the following commands to back up the utilman.exe file:
    MOVE C:WindowsSystem32Utilman.exe C:WindowsSystem32Utilman.exe.bak
  4. Copy cmd.exe and rename it Utilman.exe.
    COPY C:WindowsSystem32cmd.exe C:WindowsSystem32Utilman.exe

    Now you can go ahead and reboot your machine. When it's done booting up again and you are at the Logon screen click on the Ease of access icon.

    Now you have replaced Utilman.exe with cmd.exe.
  5. Command Prompt opens, type following commands:
    .net user administrator *

Once you press Enter, you will be asked to set a new password and then confirm it. When entering new one, don't worry if you can't see it, because it is invisible, however it has been remembered.
Once you're logged in again, don't forget to delete Utilman.exe and then rename Utilman.exe.bak back to plain old Utilman.exe.

Second, reset server 2012 r2 admin password with third-party Windows password genius.

Windows Password Genius has four versions available, standard, professional, and advanced and raid. And the raid version is special, because it works for raid server Windows domain or local admin password reset. The advanced is general version, working on both server and client computers.

So choose appropriate Windows password recovery version to burn a password reset disk and then recover Windows server administrator password.

Preparation: Windows Password Genius Advanced/Raid, available computer and bootable USB drive.

  1. Install Windows Password Genius Raid, and run it on available computer.
  2. Insert bootable USB drive into this available computer and choose USB, click "Begin burning" to create password reset disk with USB.
  3. Exit USB device after it is successfully burned with password reset disk.
  4. Plug USB into server 2012 r2 and boot server from USB.
  5. Recovery tool program runs, and then choose Windows system - Windows serve 2012 r2, and select user account - administrator.
  6. Click "Reset Password", the administrator would be set with new password "[email protected]".
  7. At last, reboot server computer to finish Windows password reset. But remember to exit USB reset disk from server before your server computer boots from hard disk successfully.


Cheap Moodle 2.7 Hosting :: Top Features on Moodle 2.7 to Improve Your Moodle Application

clock July 16, 2014 07:27 by author Ben

ASPHostPortal.com, a leading innovator in Windows Server hosting, announces support for Moodle 2.7 on their Windows Server 2012 hosting platform and available for all of the ASPHostPortal Windows hosting plans.

Moodle 2.7, the latest major release from Moodle.org was released yesterday May 12th. With Moodle 2.7 there are a few major enhancements and improvements such as Atto text editor and the More and Clean themes as the only that will ship by default. An additional point of interest is that Moodle 2.7 will receive long term support of Moodle HQ.


Moodle 2.7 brings a suite of new features, improved tools and streamlined workflows to administrators, educators and students. The free Moodle learning platform continues to strengthen with several new capabilities and improvements, including:

Modern Appearance
Moodle now uses Bootstrap themes by default for improved responsive design and usability.

Easily Create and Manage Quiz

A number of productivity improvements have been added to Quiz and Question Bank, including an added option ‘Save changes and continue editing’, improved quiz reports, and an updated question type selector makes duplicating and moving questions much easier.

Support the Cloud
Moodle now is linking with the cloud and other clustered systems to enable this.  Systems administrators will find more features than ever which will enable them to scale Moodle to millions of learners if required.

Improved Logging
A new logging subsystem with plugins allowing detailed and external logs provides opportunities for improved reporting as well as advancements in better learning analytics.

Improved Conditional Activities Supporting More Complex Boolean Operations and Plugins

Adding a restriction
Within the settings for the activity or resource you want to restrict access to, first click the Add restriction button. A dialogue box appears allowing you to select the type of restriction you wish to apply to the current activity, resource or section.


Adding the restriction type

Having chosen the restriction type, you can then define the specifics of the restriction. In the case of the example below, participants have to complete the Holidays quiz.

Scheduled Tasks Management
With an improved scheduling system, tasks can be scheduled precisely, even on complex clustered servers.

Support
There’s another thing that will make administrators happy. Moodle 2.7 is a long term supported release. It will have an extended support of 3 years (until May 2017) for security and data-loss fixes.

Big Data
You will have heard this term mentioned several times before, now, Moodle has incorporated better use of data and reporting.

Improve Assignments
Teachers can now notify students when providing feedback, easily keep track, edit or delete student submissions, set a word limit and add comments directly to text assignments.

Reasons to choose ASPHostPortal.com as your cheap Moodle 2.7 Hosting
ASPHostPortal.com have Moodle™ experts on staff who are available 24/7 to help, a one click install script to make installation a breeze, and we guarantee our service, money back. What makes ASPHostPortal.com the premier place to host Moodle? Here are 5 reasons why we are the best:

Easy to Use Tools
ASPHostPortal.com use World Class Plesk Control Panel that help you with single-click Moodle installation.
   
Best Programming Support
ASPHostPortal.com hosting servers come ready with the latest PHP version. You can get access directly to your MySQL from our world class Plesk Control Panel.
   
Best Server Technology
The minimal specs of our servers includes Intel Xeon Dual Core Processor, RAID-10 protected hard disk space with minimum 8 GB RAM. You dont need to worry about the speed of your site.
   
Best and Friendly Support
Our customer support will help you 24 hours a day, 7 days a week and 365 days a year to assist you.
   
Uptime & Support Guarantees
We are so confident in our hosting services we will not only provide you with a 30 days money back guarantee, but also we give you a 99.9% uptime guarantee.



Affordable osCommerce Hosting with ASPHostPortal.com :: How to Enable SSL on osCommerce Site

clock May 2, 2014 06:01 by author Ben

osCommerce is one of the earliest online shopping software in the market and in few recent years if we saw the ratio of shopping cart software users then it seems that the users of oscommerce is booming increase in the world. Most online owner prefer oscommerce as it is open source shopping cart for every one.

osCommerce is open source shopping software and particularly adapted with regard to array of online businesses. OsCommerce absolutely allows you with regard to corporations in order to open up a web business. No matter, whether you are an existing web based business creating the actual changeover in order to OsCommerce, or a brick and mortar retailer venturing directly into web based business with regard to the 1st time, osCommerce can work for you. Minor business organization has highly confined price range as a result they could certainly not to do OsCommerce development from the damage. There are many free templates for oscommerce available in the market they can pick a ready made template which often suited for a business certain desires.

Being the most popular open source Ecommerce solution available on the web, you'll see the difference with osCommerce from the very first click:

set up within just minutes - One of the best features of osCommerce is the speed at which it can be configured and can start to sell your products online within just minutes of installation

built-in features and flexibility
- osCommerce provides powerful built-in functionality including: product catalogue, account management, secure Administrator's panel plus online tools and reporting features. In addition, there are hundreds of contributions to upgrade osCommerce or to make it compatible with third party accounting systems.

ideal for Search Engine Optimisation
- osCommerce is easy to configure so that it can be meaningfully indexed by the major Search Engines. Customers can find your website by simply typing product names or similar keywords into their web searches. You can significantly increase your visibility and subsequent online sales by utilising osCommerce Search Engine Optimisation.

In this article, i'm going to explain about how to enable SSL in osCommerce, you will first need to purchase an SSL certificate and Dedicated IP. This article assumes that you already purchase an SSL from SSL provider.

In order to configure osCommerce to work with SSL you should open the file public_html/catalog/includes/configure.php and make the following changes:

define(‘HTTP_SERVER’, ‘http://www.yourdomain.com’); // eg, http://localhost – should not be empty for productive servers
define(‘HTTPS_SERVER’, ‘https://yourdomain.com’); // eg, https://localhost – should not be empty for productive servers
define(‘ENABLE_SSL’, true); // secure webserver for checkout procedure
define(‘HTTP_COOKIE_DOMAIN’, ‘www.yourdomain.com’);
define(‘HTTPS_COOKIE_DOMAIN’, ‘yourdomain.com’);
define(‘HTTP_COOKIE_PATH’, ‘/catalog/’);
define(‘HTTPS_COOKIE_PATH’, ‘/catalog/’);
define(‘DIR_WS_HTTP_CATALOG’, ‘/catalog/’);
define(‘DIR_WS_HTTPS_CATALOG’, ‘/catalog/’);


Similar to the above changes have to be made in the file public_html/catalog/admin/includes/configure.php which is responsible for the admin area configuration.

In the above example we are configuring an osCommerce installation in the catalog directory with domain yourdomain.com. You should adjust the above settings to your details.

If you are having problems to enable SSL on osCommerce site, contact your host for assistance. ASPHostPortal.com provides the best osCommerce hosting and such requests are handled with ease.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions

 photo ahp banner aspnet-01_zps87l92lcl.png

Author Link

Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in