How can I make a virtualhost accessibile through http://eastcoastrolling.info as well as www.eastcoastrolling.info ?
And don`t start with the things like buy the domain haha :D
You should have a record in your DNS pointing www.eastcoastrolling.info to eastcoastrolling.info
Additionally you may need to go into your Virtual Server Options > Networking and Addresses and add your www in the Alternate virtual server names. I don't know if that is required but I needed to do that for my virtual hosts.
Can you be more precise ?:) How can I control everything using DNS ?
Well , I want www.example.com to point to example.com
More precise ? I didn`t get much from what you said earlier , sorry.
step by step ?
Nice work Neil!
Off the top of your head do you know if a similar config is easily done for Lighhtpd? No dramas if you don't, because I could always google it but I'm feeling lazy (and I don't need to know right now cause my redirect page works fine, just wondering for future reference cause your way looks much better).
Yeah I'm sure they do too. Just you seem pretty knowledgable and thought you may know off the top of your head.
I just had a quick google and this looks pretty straight forward (for anyone else who is interested).
There are many ways to redirect pages. For a full rundown and pros and cons of different methods some online research is the best bet. Google will give you many ideas and approaches to the issue.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title>Redirecting to Correct Server ...</title>
<meta http-equiv="REFRESH" content="5;url=http://example.com">
Now redirecting you to the correct server ... Please Wait ...
Some more informative text here if you so desire<br>
Hope that helps.
More information about formatting options