Currently I'm looking for a way to improve our test environment. I found it very useful to have a remote SP test server.
So I created VirtualBox VM images for a domain controller and for a SharePoint 2010 web server and deployed VMs onto remote Unix server. I also set up VMs to use an internal network.
Then I configured port forwarding from SharePoint guest VMs to host machine. I forwarded 80 and 8000 ports to 10080 and 18000 ports, so then I was able to access SharePoint site and CA from the Internet. But I met the following problems.
When I'm accessing my SP site
http://example.com:10080 it redirects me to
http://example.com:80/SitePages/default.aspx. Of course I can access the page directly, i.e.
http://example.com:10080/SitePages/default.aspx, but the page doesn't seem to work right.
I tried with the following configuration.
IncomingUrl Zone PublicUrl ----------- ---- --------- http://spsite Default http://spsite http://spsite:8000 Default http://spsite:8000
Guest Host ----- ---- 80 -> 10080 8000 -> 18000
I also had played with web application extending, but no luck. The current configuration.
IncomingUrl Zone PublicUrl ----------- ---- --------- http://spsite:10080 Default http://spsite:10080 http://spsite Intranet http://spsite http://spsite:18000 Default http://spsite:18000 http://spsite:8000 Intranet http://spsite:8000
Guest Host ----- ---- 10080 -> 10080 18000 -> 18000
So the question is, what am I doing wrong? How can this be done?