How to create a web application with custom URL in MOSS 2007?
Hi All, When I create a new web application in MOSS 2007, it gives the URL as http://sharepoint:18862/sites/TeamPortal/default.aspx. I would like to have a my own URL some thing like http://myteamportal/ or as http://www.myteamportal.com. Is there a way in MOSS 2007 to do this? Please explain me. Thanks in advance...
February 9th, 2010 3:13am
Its just a matter of setting the application and alternate access mappings correctly. If you want to use something other than the machine name you will also need an entry in the DNS system. Here is a good reference: http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx SharePoint MVP | Developer | Administrator | Speaker-- Twitter -- Blog - http://nextconnect.blogspot.com
February 9th, 2010 3:21am
Hi Mike, I read the article. Do I need to install "Internet Security and Acceleration Server 2006" in order to set up reverse proxy publishing rule for MOSS 2007? And also, is this the only way to do this?
February 9th, 2010 6:05am
You don't need to set up ISA in order to get a fully qualified name (FQDM). Many teams that are exposing MOSS outside their companies network will use ISA, but it isn't a requirement. From your original post though, you didn't mention external so I'm not completely sure what you are looking to do.SharePoint MVP | Developer | Administrator | Speaker-- Twitter -- Blog - http://nextconnect.blogspot.com
February 9th, 2010 7:13am
I am actually a beginner and I am trying to develop a portal in my laptop. In the process of creating a new web application through central admin site, I thought of custom site URL (as I mentioned in my first post). This is what I am trying to do.
February 9th, 2010 8:36am
Hi,sorry for my simple english...for testing in your laptop follow this without using and modify the DNS Server.- Modify the file "hosts" located in C:\Windows\System32\drivers\etc and insert the ip address of your MOSS and the name of your portal.- Create a new Web application and in the "IIS Web Site" complete the PORT = 80 and the HOST HEADER = name of portal.bye bye.Raffa!
February 9th, 2010 1:06pm
I tried to do what Raffaele suggested. But when the web application was created on port 80 and when I tried to browse to that address (my address for web app created on port 80 is http://teamportal/), it is not accepting the username and password even though it is correct. Is there any other way to do this? Also, I have an web app at port 80 with address http://sharepoint/ which is created when I installed MOSS 2007. I am not able to browse to that site with admin username and password. What is web app at port 80 for?
February 10th, 2010 2:18am
Hi, First, this URL: http://sharepoint:18862/sites/TeamPortal/default.aspx represents a Site Collection but not a web application. If you want to use custom URL: like http://myteamportal to access the site. You could create host-named site collection using stsadm command. See below article for more informaiton: Plan for host-named site collections (Windows SharePoint Services) -lambertSincerely, Lambert Qin Posting is provided "AS IS" with no warranties, and confers no rights.
February 10th, 2010 4:30am
Hi Lambert, I tried the link what you gave me and I am not able to succeed. May be I am not able to explain what I need or I am not understanding what the article says. Here is what I need. when i create a new application, it gives the URL as http://sharepoint:1882 and when I create a site collection, it gives the URL as http://sharepoint:1882/site/TeamPortal/default.aspx. I would like to have http://teamportal instead of http://sharepoint:1882/site/TeamPortal/default.aspx I tried the way what was explained in Plan for host-named site collections (Windows SharePoint Services). Here is what I did and I failed: In creating a new web application, I changed the HOST HEADER in IIS WEB SITE section to "teamportal". Now the URL became http://teamportal:3260 and I reset IIS and I type this in stsadm.exe C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm.exe -o createsite -url http://myportal -ownerlogin hrk\administrator -owneremail email@example.com -hhurl http://teamportal:3260/ This gives me a msg as The port specified for the new host header site does not match any known bindings in the specified Web Application. The new site will not be accessible if the Web Application is not extended to an IIS Web Site serving this port. Operation completed successfully. And when I try to access the site from http://myportal, it giving me an error msg as:Cannot find http://myportal/ DNS Error - Server cannot be found I also tried another way. I didn't changed the HOST HEADER and kept every thing as it is which gave the URL as http://sharepoint:33216/ and then created a site collection from stsadm.exe as explained in the above point. It also gave me the same errors as above. I am very eager to learn this. I am sorry for not getting the excat point. Please help me.. Thanks in advance.
February 10th, 2010 10:34am
Hi,check that the URL is in the LOCAL INTRANET or TRUSTED SITES in you Security Zone in IE Internet Options.Bye bye.Raffa!
February 10th, 2010 11:12am
I added the URL's in the LOCAL INTRANET TRUSTED SITES in IE. Its still not working.
February 10th, 2010 9:43pm
Hi, Let us start from the beginning. you created a new application and gave URL as http://sharepoint:1882. Then you created a site collection and tried to give the URL http://teamportal instead of http://sharepoint:1882/site/TeamPortal/default.aspx. What you need to do is to create a host-named site collection using the following command: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm.exe -o createsite -url http://sharepoint:1882/site/TeamPortal -ownerlogin hrk\administrator -owneremail firstname.lastname@example.org -hhurl http://teamportal You need not to change the web application and the command would help you to create a new site collection so that you need not to create a site collection form web UI. Hope the information can be helpful. -lambertSincerely, Lambert Qin Posting is provided "AS IS" with no warranties, and confers no rights.
February 11th, 2010 5:20am