How to build a home server with windows server - windows-server-2008

I have a pc installed windows server. Now i want to host a website on that pc which should be publically available . Is it possible to do on that pc . Please help me with some good step or resources. Thank you in advance

Related

Connect VS2022 debugger to ASP.NET Core application hosted on windows server IIS (2019)

I'm having issues with ASP.NET Core 6 app on my VPN Windows server 2019. Basically, I have Syncfusion OCRProcessor with tesseract files, but my application can't find part of the path for tesseract binaries on server when locally is working fine (on server error message is "cannot find part of the path C:\inetpub\wwwroot\myapp\x64").
After contacting Syncfusion support didn't solve the issue, I have checked for permissions in file system, double checked the locations of the binaries on IIS, checked if dll's are blocked in from Windows in file system. I have tried to connect from my machine with VS 2022 Community to my VPN server (public IP address) to try to debug the application, but going trough all the documents about remote debugging, still I can't connect to my app and hit the breakpoint in code to determine what is happening..
I have installed remote debugger for VS 2022 onto server, configure it and started, I have published application again over web deploy with debug config to IIS, but I just don't understand next step - how to attach to the process on external server..
Most of the videos and documentation suggests that IIS is installed locally on development machine, or IIS is on some PC in local network, but I have public server.. Can anyone help with the advice how to proceed further?
Thanks!
Ok, I have managed to connect debugger from VS 2022 to IIS.
The issue was in port, firewall and also in description on Microsoft help site https://learn.microsoft.com/en-us/visualstudio/debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer?view=vs-2022 where in step 3 is written "Set the Qualifier field to and press Enter." - you need to enter ip address and port into connection target textbox.
After succesfull logging in onto server, I needed to select w3wp.exe process with title "CoreApp: https://.. ", set breakpoint in VS 2022 and open ASP.NET Core app in browser. After that I managed to debug application on IIS.
Hope this would be helpful to someone!

IIS8 windows Server shared folder app error 500

Hello I installed a simple app in IIS on windowsServer 2012 and everything work good.
But the moment I share the app folder whit one organisational AD user the app stop working and return 500
I do this on windows server 2008 on iis7 without any problem for years...
Thx
Simply make the share from advanceShare option :)
Directly from share its broke the app...

Remote Hyper-V Server from another computer

I have Hyper-V Server 2012 . Now i want connect to Hyper-V Server from my computer use Windows 7 but not in WorkGroup and connect to Hyper-V Server use ip or domain like this.
Click here for image
It's possible ?
It is not possible. Windows 7 simply does not know about all things that are available in Windows Server 2012 and beyond.
Refer this Link

VM to Connect full screen for Hyper-V on Boot

We have some training machines (Windows Server 2008 r2) that we'd like to boot up and load the VM for the clients to use.
I thought it would be pretty simple via powershell, but so far. all i can do is get it to start up (Not connect).
doing searchs for connecting to VM obviously come up with random links to how to do a normal connect. Not load up the VM full screen mode if you log into the Hyper-V
Thanks for any help
S
Use remote desktop for full screen with Hyper-V.

Disk2vhd Hyper-V server question

Hello all I have a backed up about 30 servers using disk2vhd and now I have built my first of many hyper-v severs I did not realize this is all command line I did download CoreConfigurator and that does have some functionality I have been looking for. My question is how do I get the VHD files to run a Vitual Machines? its all command line I tried via vbs to mount the VHD's and I have not been able to any help on this would be great!
Thanks!
If you are using servercore, You maybe can do everything from the command line but I always prefer to have one computer running a Non server core version of windows 2008 to be the management server. You will load up Hyper-V manager on the non server core box and manage your Hyper-V server.
To have no "management" servers or desktops on your network will be a big pain IMO for management.
Using Hyper-V Manager you can quickly load the VHD's as VM's.
So load up Hyper-V Manager on a desktop PC on your localnet, and use its connect option to connect to your servercore. (Make sure your firewall settings are ok on servercore using coreconfig)