Am trying to change my websites domain address. Now its on my companies server where our dnn is installed along with another working website from dnn, and now we want to add another website under this server(in iis).
I dont know if i should mention the website names so ill name them as A and B. A is the existing website and B the new one.
The B website now works internally only with the ip of the server and a new port ex.(10.20.30.40:81 Again i dont know if i should mention any extra info so am reffering to the ip as a sample).
For some reason only the website at the default port 80 works which is the website A. I enter the link of the website A and it works fine. If i change the ports of the websites and i enter the link of website A again(but now they have different ports) it opens the contents of website B but with the domain name of website A.
Now on website B i entered in portal alias both the internal ip with the port in order to work internally (i have 10.20.30.40:81 in portal alias) and i also added an alias with the new domain www.B.com(also set to primary), and i get this error'
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.
In IIS settings the ISAPI settings are all set to allowed.
The application pool is integrated. But i also tried classic but doesnt help.
Is there anything else i forget? Please help