Non-www version does not work but www works

3 posts / 0 new
Last post
#1 Sat, 01/10/2009 - 22:17
shabbirbhimani

Non-www version does not work but www works

I have installed the free virtualmin and I am having only one problem in figuring out why is this happening.

All of my domains are having the problme like they work when I have the www in them but non of them work when I remove the www ?

Also I would like to know how do I add the Alias.

I mean I have domain.com and also would like to have the my.domain.com as well point to the same content ?

I have created an Alias but then it just does not propogate for 72 hours now .

Am I doing anything wrong?<br><br>Post edited by: shabbirbhimani, at: 2009/01/10 22:18

Sat, 01/10/2009 - 23:44
Joe
Joe's picture

<div class='quote'>All of my domains are having the problme like they work when I have the www in them but non of them work when I remove the www ?</div>

In what way do they not work? Do you get an error? Does anything show up in the logs?

<div class='quote'>Also I would like to know how do I add the Alias.</div>

Adding an alias for the bare domain would make no sense, because it's the name of the virtual host, already. When you create a new virtual server, for example, &quot;virtualmin.com&quot;, Virtualmin will create a new VirtualHost with a ServerName of &quot;virtualmin.com&quot;, and a ServerAlias of &quot;www.virtualmin.com&quot;. So, an additional ServerAlis of &quot;virtualmin.com&quot; is nonsensical.

<div class='quote'>I mean I have domain.com and also would like to have the my.domain.com as well point to the same content ?

I have created an Alias but then it just does not propogate for 72 hours now .</div>

Oh, now I see you're talking about a different problem, right?

If you've created an alias why are you asking how to create an alias? I'm confused. What problem are you having?

Have you gone through the troubleshooting guide? ( http://www.virtualmin.com/component/option,com_openwiki/Itemid,48/id,tro... )

Also the BIND troubleshooting tips section of the Webmin documentation might be helpful, as it sounds like you're a little vague on how DNS works and whether it is working correctly in your deployment. ( http://doxfer.com/Webmin/BINDTroubleshootingTools )

We're going to need to see some kind of error or log entries or something. Just saying, &quot;it doesn't work&quot; isn't really useful. ;-)

--

Check out the forum guidelines!

Sun, 01/11/2009 - 01:25
shabbirbhimani

I am talking about 2 problems.

1. My site www.domain.com works.

I am talking about ping.

ping domain.com does not works
ping www.domain.com works

Let me know if I am allowed to link to my sites from here and I would show you my server urls.

2. The other problem is using subdomain / Alias.

I have one more url where user can directly login to their user control panel using the url my.domain.com

which is nothing but an .htaccess redirect to the actual control panel url and I have created an alias for this url and want to point to the main domain url but it does not work.

Also the link you provided I have gone through them but of no help.

Topic locked