website does not work without www [closed] - iis

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am working on iis8 for the first time, but my website is php, but i dont think the issue is within php, because:
if i enter: http://mywebsite.com/image.jpg
it does not load the image, just timed out page.
but if i enter: http://www.mywebsite.com/image.jpg
it works fine.
also, i can ping mywebsite.com but not www.mywebsite.com
the answer might be very simple, so kindly dont give me negative votes :)

Have you setup a binding for "mywebsite.com" in addition to "www.mywebsite.com"?
To setup a binding, select your website in ISS, select "Bindings" from the "Actions" menu (or right click and choose "Edit Bindings". Then click "Add" to setup the additional binding.

You need to make another alias in your DNS server.

Related

How to enter a custom address to a dns file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
in the /var/www/html directory I have many folders which contain websites like 'store/', and to access a website through my LAN I enter in the address bar 'myserveripaddress/store'.
I created a DNS file to access the website with a custom name but I don't know what to put in the file, I tried:
customname A myserveripaddress/store
but it didn't work, the only one that works is:
customname A serveripaddress
but it doesn't take me to the website under 'store/' directory for example.
Is there a solution?
DNS does not work this way. In this instance, DNS points domain at a server, but it is to the server how it responds to that request.
to get this to work, you would need to create separate web server configs for each of the "sub-websites" and then point the DNS record at domain name listed in that config.

How to make it so that when I type test.com it will open the files from b.test.com? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
We have two servers (with different IPs) which are hosting two different websites on them. We have the first site as the apex domain (example.com) and the second is a subdomain (b.example.com).
Right now example.com and b.example.com are completely different websites. How can I change this so that when I got to example.com it shows the same contents as b.example.com current shows?
So I guess this depends on what you're trying to achieve. I am assuming that because you have b.example.com that is supposed to be the new "beta" site that you are now wanting to go live with.
If you want to swap to the new site then you should update the DNS A record for example.com to point at the same IP that b.example.com is pointing at.
This is one approach but I would recommend adding more detail to your question so that we can be more clear about what you're trying to achieve 👍

What DNS requirements do I need to map one domain to another? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have my first site at http://www.example.com/members/quiz.php?qid=My-quiz which queries a database.
I would like to display the exact content for each quiz under my second site: http://www.mysecondsite.example/quiz.php?qid=My-quiz
I am new to DNS so I know this is probably a simple question. What do I need to do on both domains to make this work?
You cannot solve this issue solely with DNS. With DNS all you can say that the IP address for www.example.com is the same as that for www.mysecondsite.example.
Your webserver has to understand that any requests for www.mysecondsite.example are actually the same as that for www.example.com and has to fulfil or redirect those requests appropriately. Depending on your webserver, search the manual for the topic on redirecting/forwarding requests.

Your Connection is not private just in my websites (privacy Error) - Page Gets Stuck in Security Page [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Chrome gets stuck in security error page: Does not display the advanced tab(/button/paragraph) to proceed.
Attention, Attention
I have found that the best (and only) way to override Chrome is to type the phrase thisisunsafe at the Chrome generate webpage that blocks you. We have servers on an internal network which use SSL but which are not externally signed and this is the only way to get to them.
enjoy it ;)
enter chrome://flags/#allow-insecure-localhost in chrome browser
imp: change your earlier url eg: if you have used testweb.dev
change it to testweb.test
now restart the server go to http://testweb.test

Apache2 webserver not displaying pages [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have this strange problem that happens whenever I go to visit any of my websites hosted on my Apache2 server. When I visit a site, chrome just downloads this file named 'download' and just displays a blank page. I opened the the file named 'download' in notepad++ and it displays the html source code to the website. Anyone know what is going on here?
You misconfigured your server: it's returning the wrong mime-type. Go find the config which came with your Apache installation and compare it with the current state to find the stuff which is broken.

Resources