I want to use my winserver 2008 to host my own pages. I got a couple of domains. So I want to setup my server to it.
Now to the questions and thoughts.
1.Do I create NS1, NS2, NS3 on this one server? If are they done in the _msdcs, or the MYDNS.COM.. NS I mean Name Server, i need atleas 2 to redirect the domain(u knew this but anyway)
2.Do I need different ips for each one of the NS? If how can I setup more ip's I only got one?
3.Do I need to do any more then setting the domain name in the iis7 when I create a web page or does it know how to find it? Like do I need to set that the domain1.com need to go to a specific folder where the files are?
This is just some basic thoughts I wonder about on this topic. If I could just get some leads I am sure I can find info and figure out how to, but I appreciate all help I can get.
Thanks guys
This is more of a serverfault question than a stackoverflow question
https://serverfault.com/questions/88154/dns-ns-records-vs-a-record
https://serverfault.com/questions/111768/dns-ns-record-question-in-windows-server-2008
Related
I'm at my wits end with this.
I have a WordPress site with a few (7) plugins and I am getting around 10 reports a day of 500 Internal Server Errors.
These could happen at any time whether just browsing the site or via the administration part of the site.
I have contacted the host and just tell me that they are not developers and that there is a problem with the site, which is no help at all. Surely if there were an issue with the site/code it would manifest itself permanently not just randomly.
The only meaningful error I have found from around the same time these 500 errors occur is:
xxx.xxx.xxx.xxx:47767] End of script output before headers: index.php
mysite.com [Mon Jan 04 15:31:57 2016] [error]
Which, from searches, could mean pretty much anything. The only thing I've also found is that some of the code may contain whitespace, but surely this can't occur only occasionally? It would happen all the time.
This happens on the main index page which doesn't change. Am I being fed lies from the host? Why does it only happen occasionally on a page that doesn't change?
I'm tempted to move the site to another host to prove a point, but am also happy to be proven wring and there is something wrong with the site, rather than the (shared) server it runs on.
Any pointers would be greatly appreciated. Thanks.
I have contacted the host and just tell me that they are not
developers and that there is a problem with the site, which is no help
at all. Surely if there were an issue with the site/code it would
manifest itself permanently not just randomly.
500 Server Errors can be difficult to track down. But, if they are transient and not consistent, I'd say the host is flakey, esp. if they are not much help.
Find another host with an inexpensive, money-back guarantee and copy the site over and test it for a few days.
If you leave the current site up and use a spare domain or an IP on the new host, you need to change URLs in the database for the site copy on the new host. See interconnectit.com WordPress Serialized PHP Search Replace Tool
I was searching on web for this solutions and found so many solutions. Some of you might merge this with other question as duplicate(i dont mind), but there are some general questions i have as newbee which help me to understand this process and also other can use this. So my website works on both http(80) and https(443). I want my login and edit profile page to always redirect to HTTPS. I dont care about other pages.i binded the SSL and works fine with http and HTTPS.My application is in ASP.net and server is Windows server 2008 with IIS7
So there are two ways i found through which you can do this. 1) Through IIS and 2) Through Code (Other methods are welcome)
My first question is which option is more feasible or optimal? I saw some of the comments with IIS and MS URL redirect module says they have problem redirection in some IE. And for code based solutions i am wondering is this the best method you can use.
I saw some commets which says if you have dynamic URL then IIS method might give you error for some URL with data.
Second is pros and cons of these two methods? So other can use one of those method according their needs
here are some of the answer i got from web
http://raoulpop.com/2007/08/07/automatic-redirect-from-http-to-https/
This is IIS method
http://www.sslshopper.com/iis7-redirect-http-to-https.html
and i can go on with these solutions. But what i am asking is which is better way, ISS or code? You are welcome to post your ideas and your solutions which help me and other to understand this problem better.
Thanks in advance.
Arpan.
This question already has an answer here:
rewrite url to url:port number
(1 answer)
Closed 8 years ago.
I have a question identical to the one stated here, but I still can't figure out how to make it work.
My situation is as follows (this is all BRAND NEW to me, so please forgive me if I use the wrong words to describe things, but I hope the overall description will still make sense):
On IIS, I have a default ASP website that can be accessed by going to http://MyHost/Site1. This site is hosted on the default port for this host, which is port 80.
I've created a new ASP website in IIS with a new AppPool, etc that is attached to port 8080 and is in a differnet folder on the local hard drive.
Now, I can access this website by navigating to http://Myhost:8080, but I would like to just be able to type in something along the lines of http://MyHost/Site2.
I am a total newbie to IIS, so please can someone offer me as clear a bit of guidance as possible?
Thanks SO MUCH!!
You need to create an IIS Application within the existing (default) website that maps to the other site.
The application name would be MyTool2, and its physical path would be the path to the other site.
I've currently got a reasonably large site up that i've been asked to make changes to.
Currently To login to this site you need to go to:
www.example.com/folder/loginpage.html
This site is only accessible internally at this time and it is unlikely to ever be accessible externally.
We would like to, however, be able to direct external users to a sub-directory on the site (a 'survey' form) which is located in
www.example.com/folder/subfolder/survey.html
This survey writes its results back to the main application and i believe they are integrated tightly.
We initially tried the idea of using an additional IIS7 box as a reverse proxy however it is quite confusing to me, i'm not very familiar with IIS/ARR and the other features required (i'm mostly familiar with networking). I did try and follow a number of tutorials but didn't get very far. I'd like to avoid it if possible.
How can I, using IIS7 (this site is in ASP.NET) restrict external users from accessing anything other than the survey pages (there are a few included files necessary as well)?
Is it possible to make www.example.com/folder/subfolder/survey.html a 'website' in-itself so that i can publish a URL like survey.example.com externally?
I've come across other examples where access is restricted from specific pages but the root of the site is still accessible
ie
www.eg.com/ is allowed but www.eg.com/admin.aspx is denied. I'd like to the the reverse in effect, and if possible, hide the 'true' url.
Hope someone can help! If using a reverse proxy is possible i'm happy to do it but i'd need detailed instructions.
Thanks for reading,
Much appreciated!
Edit: Sorry all, I'm new to stackoverflow, indeed I've just realised that there are several other sub-communities. Is it more appropriate to ask this in a different community? If so, which one?
Thanks!
Usually when I get the url of a request i use Request.RawUrl.
This gives /default.aspx for example.
However recently my host changed something and now the name of the application directory is displayed as well so i get /appdirname/default.aspx.
Now why does it give me the directory of the application? It looks as if my website is a subapplication of another website. So when you go to mydomain.com the rawurl will be:
/appdirname/default.aspx
I believe each domain has it's own website defined in iis or am i mistaken.
I am not asking for a workaround, which should be pretty straightforward, I am asking why this is happening and how, what kind of IIS setup causes this to happen?
PS.
And the worst part is i had this issue with godaddy and i was happy my host didnt have it but now both hosts have the same problem.
The Request.RawUrl method returns everything after the domain declaration, so if your full url is:
http://www.yourdomain.com:8080/directory/Page.aspx
then the method will return
/directory/Page.aspx
That's all it does. That's all it claims to do. As you say, your hosting provider must have changed something, which is very naughty, and the workaround should be easy. There is a good chance that they have introduced some kind of url redirection, but the best way to find out is to get in touch with their helpdesk and ask them what is happening. I find that most successful hosting companies tend to respond in good time to this kind of question. Otherwise they tend to become formerly-successful hosting companies.
Ric Strahl has this to say about it: http://www.west-wind.com/weblog/posts/132081.aspx