IIS web site not accessible from the hosted server - iis-8

I hosted a website in IIS 8 and binding with a proper hosting name (subdomain.xyz.com). It is working from my local machine, but it is not working when I access from hosted server. It is showing authentication window, even I provide a valid credentials it is showing again and again.
The server is hosted in Azure.
Server: Windows Server 2012 R2

It is because NAT loopback,
you can try to use internal ip if you access from hosted server.
if you want to access using your hosting name, make sure to point it inside "hosts" file.
C:\Windows\System32\drivers\etc\hosts
add this line
127.0.0.1 subdomain.xyz.com
so basically what hosts file do is, it actually point to your localhost every time you enter subdomain.xyz.com in your browser.

Related

Im trying to setup wampserver on a rdp to host a client manager

So im a dev for a GTA server, and im trying to use Wampserver on a Dedicated server, i have wamp all configured but when i go to the directory on the server it working for this sake lets say the ip is 144.144.144.1 so the directory is http://144.144.144.1:8081/manager/ which works on the actual server but when i go to that URL on my actual computer it says this. https://gyazo.com/2492ec034a9d97a11bd5663a0240b1a5

Cannot access apache via external URL, only via remote desktop connection to server

I have a Windows 2012 Server via VPS hosting.
I installed IIS and MySQL last week.
I have no way to remotely access the MySQL db, so thought I'd try to set things up so that I can access it remotely.
I have installed XAMPP this evening, and installed Apache and PHP onto the server.
My domain name. e.g. mysite.com is linked to the VPS hosting, so that I can go to e.g. localhost/index.html and also mysite.com/index.html and see the same page.
I had to configure apache so that I could connect to it at the same time as running IIS, so access it via localhost:8080/phpMyAdmin/index.php. When connected via remote desktop connection, I can also access that via mysite.com:8080/phpMyAdmin/index.php.
However, if I disconnect the remote desktop connection and try again to get to mysite.com:8080/phpMyAdmin/index.php I get a timeout error.
I seem to only be able to access that URL when on the actual server that the site runs from, even though I can use the full external URL.
I wondered if there any way around this?

Configure Remote Access on Windows 2012 Server without IIS

I am running through the procedure to create a Windows 2012 Server, and I need Remote Access enabled. However, when I run through the installation process, it tells me I need to install IIS. Well I don't want IIS because I will have an Apache server running, but I have no choice. In Windows Server 2008 there was no need to install IIS when configuring Remote Access ( which used to be a part of Network Policy and Access Services ).
What can I do if I need Remote Access, need Apache, and don't want IIS?
To solve this I simply deleted the default website created with IIS, restarted Apache and it works fine.

Set up SSL/Certificate for seperate server

I am new to SSL,here I have a question about how to set up SSL/certificate.
Our web site is hosted on server A(Windows server 2003 with IIS6), we also have a WCF web service that is used by the web site to get data from database, and this service is hosted on Server B(Windows server 2003 with IIS6).
So how to setup SSL/Certificate to make sure that the client server communication is encrypted? do I need to apply 2 certificate for each server?
I also have a very fundamental question, say my server's ip address is 192.168.0.5, it has multiple ports for different application, for example 8090, so which one is called domain? 192.168.0.5? or 192.168.0.5.8090?
Thanks
Since both server are running IIS 6, you can just export your certificate as PFX and install it on the other server.
Following sites might be helpful:
Export:
https://support.globalsign.com/customer/portal/articles/1231880-back-up-certificate---internet-information-services-iis-7
http://www.sslshopper.com/move-or-copy-an-ssl-certificate-from-a-windows-server-to-another-windows-server.html
Installation:
https://support.globalsign.com/customer/portal/articles/1290320-install-certificate---internet-information-services-iis-5-6
http://www.sslshopper.com/microsoft-iis-5-and-6-ssl-installation-instructions.html
Hope this helps!

MSSQL wont accept connection from website on other host

Iam using SQL server 2000 SP4 and iam running a website on localhost.
This worked great, i moved to hostgator to run my websites there.
I changed the IP in inc.config.php but i still get an error when i visit my website.
Core-Error: Failed to connect to database!
Error: Please check if MSSQL-service is running and reachable (firewall, etc.).
I added firewall rules for the ports that are needed and also added sqlserv.exe to the firewall to allow this. The service is up because my client can still connect to my local hosted website.
Do i need to enable remote connection from MSSQL 2000 ?
http://webtest.demoniz.com