I'm using Selenium on different machines to automate testing of a MVC Web application.

My problem is that I can't get the base url for each machine.

I can get the current url using the following code:

```
IWebDriver driver = new FirefoxDriver();
string currentUrl = driver.Url;

```

But this doesn't help when I need to navigate to a different page.

Ideally I could just use the following to navigate to different pages:

```
driver.Navigate().GoToUrl(baseUrl+ "/Feedback");
driver.Navigate().GoToUrl(baseUrl+ "/Home");

```

A possible workaround I was using is:

```
string baseUrl = currentUrl.Remove(22); //remove everything from the current url but the base url
driver.Navigate().GoToUrl(baseUrl+ "/Feedback");

```

Is there a better way I could do this??