• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

Website naming

Dear All,
i have a test environmet with domain named seso.com
i have created a website on a test web server of this domain, this web site hosted on server Webserver.seso.com

when i need to brows the website i have to write http://webserver/testweb

I need to change this to http://testweb without the need to write the hosting server name , please advice with detailed steps
0
mostabdo
Asked:
mostabdo
  • 5
  • 4
5 Solutions
 
dan_blagutCommented:
Hi
Testweb is a web site name, webserver is a computer name.
http://webserver means the default site name on the webserver computer, and works because the internal DNS know webserver and if you defined on the IIS config an default site.
But you can also define an alias testweb that point to the webserver IP in the DNS. Now when you type http://testweb, the IE will show http://webserver/testweb if the alias is ok and the testweb is the default site on IIS.

Dan
0
 
mostabdoAuthor Commented:
so...all what i need is to creat cname record or A record in the DNS with testweb and the hosting server without any modifications in the website itself ???

As i understand this will work with the default website only but if the the server is hosting more than one site ?? how it can be handeld.
0
 
dan_blagutCommented:
You can do it but you need more network adapters. Then you can have one site for each network card.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
mostabdoAuthor Commented:
I created  Host A record in DNS
I added : testweb in the host filed
Automatically the FQDN became testweb.seso.com
In the IP : I added the webserver IP

when i ping testweb.seso.com i got reply from the webserver IP

now when i brows the URL as http://testweb ...i got yoy are not authoruized to view this page !!!
0
 
dan_blagutCommented:
do you use IIS on the web server?
0
 
mostabdoAuthor Commented:
yes IIS 6
0
 
dan_blagutCommented:
0
 
mostabdoAuthor Commented:
There is a dafult document...but i am still getting http 403 forbidden you are not authorized to view this page
0
 
dan_blagutCommented:
can you try on another PC, or clear the cache for this one?
Don't forget to restart the web service after each change.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now