Getting Www.domain.com To Work, Domain.com Resolves Correctly, Just Not With Www
Okay guys, a quick question for all the gurus out there. I'll admit I'm a bit embarassed posting such an easy question, but give a guy a break, I've been using managed servers for god knows how long and I've finally decided to take a dive into administration. Everything is firewalled and secured properly, I'm just having trouble getting the ServerAlias to work right.
What happens is I go into my browser and enter in [url]walaa! It works.
Now, when I enter in [url], it does not resolve.
I have checked with "dig" the domain settings and it looks as though all of the nameservers are set up fine, this is an apache problem. I'm running apache 2.2 on Ubuntu 7.10 for all those who are interested.
Here is my etc/apache2/sites-available/domain.com:
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin webmaster@domain1.com
ServerName domain.com
ServerAlias www.domain.com
# Index file and Document Root (where the public files are located)
DirectoryIndex index.html
DocumentRoot /home/demo/public_html/domain.com/public
# Custom log file locations
LogLevel warn
ErrorLog /home/demo/public_html/domain.com/logs/error.log
CustomLog /home/demo/public_html/domain.com/logs/access.log combined
</VirtualHost>
I've been messing with it for about 45 minutes and I'm worn out at ~4:30am and could use a helping hand from the pros.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Domain.com Or Www.domain.com For SSL Certificates
I'm setting my first eCommerce site and right now I need to resolve the following issue. I need to install (well, the hosting company will do it for me) a SSL certificate and I need to know what is best or common practice, to use domainname.com or www.domainname.com I don't know what difference it would make but it seems to do so because the hosting company is asking me to choose. Being that I'm clueless about this, I would also appreciate a quick explanation on the benefits or downfalls of using either one.
View Replies!
View Related
Www.domain.com Does Not Resolve Where As Domain.com Works
I ve been having a problem with the "www" prefix for the domains For example: [url] works ok But [url] Does not resolve here is the named conf ; Modified by Web Host Manager ; Zone File for hayalikelimeler.net $TTL 14400 @ 86400 IN SOA ns1.theplanet.com. fikret.eforelektrik.com. ( 2007032306 14400 7200 3600000 14400 ) hayalikelimeler.net. 14400 IN NS ns1.theplanet.com. hayalikelimeler.net. 14400 IN NS ns2.theplanet.com. hayalikelimeler.net. 14400 IN A 74.52.228.130 localhost.hayalikelimeler.net. 14400 IN A 127.0.0.1 hayalikelimeler.net. 14400 IN MX 0 hayalikelimeler.net. mail 14400 IN CNAME hayalikelimeler.net. www 14400 IN CNAME hayalikelimeler.net. ftp 14400 IN A 74.52.228.130
View Replies!
View Related
Site Www Does Not Work But Without Www Does
Like the title says, I just moved my site over to my own server, and it is running cpanel. Anyways the main site [url]works, but [url]does not. What is really strange is, [url]works fine as does [url] So I figure there is something I have to do to get it all to work right. The other issue is that if you are logged into [url]but goto [url], you are not logged in anymore, but if you go back to the original link, then you are still logged in. This happened on the other guys server before with the main site as well.
View Replies!
View Related
Redirect Www.domain.com To Domain.com
Can anyone help me in redirecting my site www.domain.com to domain.com since SSL is for domain.com Here is my htaccess Options -Indexes DirectoryIndex home.php index.php index.html index.htm Could you please add me the correct code to redirect www.domain.com to domain.com? Also, do i need to restart Apache for taking effect?
View Replies!
View Related
Domain.com Works, But Www.domain.com Doesn't
One of my websites, romeo-help4u.com has this problem. When i type and the address goes to [url]it works fine. But when I go to [url]it doesn't work. Quote: Great Success ! Apache is working on your cPanel® and WHM™ Server If you can see this page, then the people who manage this server have installed cPanel and WebHost Manager (WHM) which use the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content. ATTENTION! If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending an email to <webmaster@domain>.) Although this site is running cPanel, WebHost Manager, and Apache software it almost certainly has no other connection to cPanel Inc. or the Apache Group. Please do not send mail about this site or its contents to cPanel Inc. or the Apache Group. About cPanel: cPanel is a leading provider of software for the webhosting industry. If you would like to learn more about cPanel please visit our website at www.cpanel.net. Please be advised that cPanel Inc. is not a web hosting company, and as such has no control over content found elsewhere on this site. About Apache HTTP Server: The Apache HTTP Server is an open source web server which powers many of the worlds web sites. The Apache HTTP server is part of the Apache Group's many influential projects. Their efforts have helped shape much the world wide web, and they continue to be a dominating force in the web hosting industry. I checked the dns through whm and everything looks normal. What did I set up wrong?
View Replies!
View Related
Redirect Domain To Www
The thing is that we have a dedicated server at our company hosting several domains, and right now you can access them both with the www prefix or without it, but there is no redirection in case you access without it, and this has negative impact with SEO related stuff. I have the rewrite apache module enabled (I tested with a script I found on the net), and I also tried a test configuring a single domain including some code about redirection. Right now I'm getting a nice "500 Internal Server Error" This is the code in .htaccess Code: Option +FollowSymlinks RewriteEngine On RewriteCond %{http_host} ^mydomain.com [NC] RewriteRule ^(.*)$ [url] (mydomain.com is, obviously, a replacement for the real domain in both cases)
View Replies!
View Related
Domain With Www Not Resolving
i have a weird problem with dns bind. i just setup a zone file and it seems [url]works but [url]doesnt work. i have also created a cname for www but still not working. here is my zone file $ttl 38400 domain.com. IN SOA ns1.domain.com. webmaster.domain.com. ( 1211542287 10800 3600 604800 38400 ) domain.com. IN A 67.223.229.117 ns1.domain.com. IN A 67.223.229.117 ns2.domain.com. IN A 66.249.8.117 domain.com. IN NS ns1.domain.com. domain.com. IN NS ns2.domain.com. www IN CNAME domain.com. ftp IN CNAME domain.com. mail IN MX 0 domain.com.
View Replies!
View Related
Emails To Www.domain.com Disappear
I can get emails to admin@mydomain.com, but i really wanted to alias it so emails to admin@www.mydomain.com go to the same account. MX records for www.mydomain.com and mydomain.com both go to mail.domain.com. . This is on a dedicated server, centos, with exim doing the email handling. I was thinking maybe it would be like an alias of some sort, or somewhere to put a list of combinations i can accept email for.
View Replies!
View Related
Www Not Work
im using centOS 5 with webmin in my vps. im installing webmin and do this: [Apache Webserver] / select [Default Server] and my website work fine , but when i check my web site for example [url]not working! [url]Work fine! how i can solve problem work with www and without www.
View Replies!
View Related
Www. Doesn't Work
today I noticed that whenever I type any of the domain names on my server with a "www." in the address bar, it simply says "server not found". When I remove the "www.", it loads the site? This is a major issue. It never used to be this way, but I noticed it today. Where should I edit? Could it be "named.conf"? Or maybe just DNS cname settings in plesk?
View Replies!
View Related
Www Wont Work
when I try to go to a site of mine with the www like this one [url] It won't work but if I take out the www like this[url]it does work. I'm not sure what could be causing this. As far as I'm aware everything is setup okay. I understand it's impossible for anyone who reads this to properly diagnose the issue without access to my server.
View Replies!
View Related
WHM: Domain Name Server (DNS) Sometimes Resolves To Wrong IP
I have a dedicated WHM server (qumbia.org) with several CPanel accounts, among them: - qumibiao (qumbia.org). - qumbiaca (qumbia.ca). Both of these accounts were set to the same ip (70.86.221.122). 15 days ago, I changed qumbiaca to the ip 70.86.221.123 Since, some requests (about 1% of the total according to my logs) for qumbia.ca are still serving up what's in /home/qumbiao/public_html I know next to nothing about this, but perhaps some ISPs have cached the 70.86.221.122 IP and are directing requests there? Still, why wouldn't WHM, upon receiving such a request, resolve it to the right address, it being on the same server? My Time to live record is set to 24 hours on my DNS, and the expire header set to 41 days. Might it be a good idea to set up a new DNS (NS3.QUMBIA.ORG) on my WHM and give that DNS to qumbia.ca? Would this force the ISPs to reset their cache? Or does the problem lie elsewhere? Should I just wait out the 41-day expire period and hope for the best?
View Replies!
View Related
Domain Name Not Work
We registered a domain: ediblebackyard.com and have set up the account in a dedicated server. However, web page in this domain won't show up I believe I've setup everything okay becuase I've setup several other domains in exactly the same way, for instances, transframe.com, 3dtime.net. They all work but only the ediblebackyard domain refuses to show. I performed a domain name search, other domain shows the name server as well as the IP address. But ediblebackyard.com only shows the name server but no ip address listed. I use Plesk in the dedicated sever. Is there anything possible wrong when I create the account for the domain?
View Replies!
View Related
Domain Name Doesn't Work Even After A Week
My main domain is working perfectly but when I want to add a new domain name it doesn't work. I usually go to addon domain, choose a directory that matches the name and create my addon domain. I have an index.htm file there but when I type the www.domainname.com it doesn't work even after a week. I have the DNS set to my webhost company's DNS servers.
View Replies!
View Related
Logs ONLY Work By Domain, Not IP
my host is telling me that since I don't have a domain name setup (I use [url] that my account won't be logging ANYTHING. no raw access logs or anything. Why is this? Isn't there a setting in the vhost file to setup logs without a domain name?
View Replies!
View Related
Redirect Example.com To Www.example.com
I have multiple domains on my web server. One of my domains does not display its website when using example.com in the location bar. Eg. example.com redirects to site2.com but www.example.com displays properly. I tried adding to the htaccess file: Quote: Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www.example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L] It doesn't work. The redirect does not occur.
View Replies!
View Related
How To Prefix A Www
One of our clients website runs only if we give the domain name with http and www and domain name When we give just http and the domain name it shows 404 Can some one help me how to change it so that it will take with www and without www? I am not able to post link am a very new member here.
View Replies!
View Related
Www And Http
All of my 3 new websites are not generating www.. Even if I type [url] all are changing to [url]when page is open... I am asking because I am having irrelevant ads on adsense in all 3 sites thogh these sites are optimized well..
View Replies!
View Related
Subdomains With WWW
my control panel is PLESK, when our customers create sub domain they cannot access to their sub domains with www, for example the sub domain is sub.domain.com and I cannot access to this sub domain whit this address www.sub.domain.com . what should I do to work the sub domains with www ?
View Replies!
View Related
WWW Redirect
i have a Centos VPS with webmin i have modified my .htaccess file to redirtect all users from WWW. to the root of the domain i also tried to block some ip addresses through my .htaccess file but it seems that whatever code i enter in my .htaccess file does not work. i think it is disabled somewhere as both the abvoe codes do not work how can i enable .htaccess file?
View Replies!
View Related
777 Permissions For Www
Let me start off with saying: I haven't had any suspicious activity, nor do I think I was compromised. I logged in as root, and was simply clicking around my dedicated server and came across a few folders with permissions at 777. ALL are above /public_html Irregardless, is this safe? I recall reading a bunch of topics on here, that /tmp needs to be hardened. Isn't this also above /public_html? For one example: /var/tmp is chmod to 077 ..inside is a bunch of sess_ files Is this folder open to hacking?
View Replies!
View Related
Difference Between Www And Public_html
what is the difference between www and public_html? I have hosed my domain in a small hosting company and when i was going through all its folders i found both the folder www and public_html has the same content. but by hosting company asks me to upload all my files into public_html. Iam curious to know the difference between these two folders.
View Replies!
View Related
Setting WWW Prefix
I have a problem with a couple of the domains on my reseller account. Although apparently configured the same as other domains I am unable to set the default URL to use the www prefix using .htaccess. When I try I get a redirect loop error. You can visit one of the problem domains here: [url] If you stick www in front you will see that it resolves to the non-www version. Any idea where this is taking place?
View Replies!
View Related
Www.AFreeWebHost.com - First Impression
When you visit www.afreewebhost.com , you don't see an ugly portal with to many links, advertisements, etc... You get a nice...HTML website. That's right, no ASP, no PHP, but a simpel, but very good looking, HTML website. Is it a bad thing? Yes and no. "Yes" because it has "founded and owned by one person" written all over it and "no" because my experiences with small or "one-man" companies have been much better then with companies with many employies. Free Web Hosting The free hosting offer looks good. Even though they require advertisements on your free site, the free hosting is not going to bring in any cash. 1GB webspace with 20GB traffic. That's more then enough for 90% of all websites on this planet. And a 468x60 or 120x600 banner and a textlink don't bother anyone. Most site-owners use Adsense or something simular to cover the montly costs anyways. I do not own a free hosting account. But from the looks of it I think that both free and payed services offer the same features and support. The company is able to do that because they also make money with site-/banner-designs. The little bit of money that they might loose with free hosting can easely be covered by a few design-assignments. Pro Web Hosting You don't see it very often. A company that offers monthly prices and gives a discount for 3 months. Most companies only offer yearly sign-ups and some of them give a 14-30 day money-back guarantee. But if you are not aware of everything you "agree" to when you sign up for a year and/or when you do not have a valid reason for asking your money back, you will not get it back. 4$/month for 5GB with 100GB traffic or 3$/month for the same deal when you sign up for 3 months. Personally, I think those prices are very realistic. The best deal is to go for 3 months offcourse. And the more expensive packages have the same "GB for the buck" value. The most expensive package will cost you 22$ for 50GB webspace with ONLY 500GB traffic. Yes, I say ONLY, because for that amount of money there are better deals out there. Don't get me rong, I still think this is a realistic price. But, and there is a bug BUT, I do not beleave that people go for the most expensive package without any experience with the company. The people that do pay 22$ for 50GB with 500GB traffic are the ones that started off with something small that has grown to something bigger, people that are satisfied with the features an the support that they've had for some time. Nice offer, but are they honest?CPanel -> Yep, it's there. Fantastico -> Yep, it's there. No Ads Required -> Offcourse. Daily Backups -> Yep, tested and working. 99.9% Uptime Guaranteed -> Only time will tell. 24x7 Support -> It's more like 12x7 Support, wich is 100% acceptable in my book. Everything else that is listed on the webiste is there and it all works 100%. The company has not modified the CPanel features in any way, wich is understandable, but there are features that I miss. Features that I have encountered before ( don't ask me for names because I don't remember them ). For example, it's possible to backup every single file on your webspace in one huge compressed file but it's not possible to backup the content of just one folder, one add-on domain. So if I want to backup a small website like my clansite, I have to backup all the other megabytes/gigabytes that are on my webspace. All other sites and files that are not even remotely related to my simpel clansite. AFreeWebHhost.com is up-to-date and offers Fantastico De Luxe 2.10.4 r17 This is the latest stable release of Fantastico. Even though many scripts are not up-to-date, it's basicly "the best you can get" at the moment when it comes to auto-installers. For those of you who don't know, Fantastico allows you to install PHPBB, SMF, PHP-Nuke and many other platforms without any knowledge. All you need to know is how to click a link How about the service? So far, so good. Because I had to wait about 24 hours before I could actually use and view my webspace, the company gave me 25GB extra traffic and an extra month for free. Now that's what I call good service! ( maybe the company knew about my Servage.net review ) After sending many emails back and forth I was able to view my testpage. And even though I did not contact the company about any other issues, a day or two after our last contact they contacted me once again, just to see if everything was working ok. When I made my first backup I got the message that it got saved in the "home" directory. I wasn't able to find my backup so I contacted support. Within 12 hours I got a reply. Some of you might feel like 11-12 hours is to long, but I rather wait 11-12 hours for a decent, friendly, HUMAN email with usefull information instead of getting a "human-robot"-hybrid reply with noth enough information. Uptime? Uptime can be checked on [url]. This is the parked domain on my webspace. For my websites I use addon-domains. Speed? Download this file to test the speed: [url] I have the "Pro Webhosting - Starter Package". Visit www.tgow.info to check how fast pages load. Would you recommend this host based on your first impression? I sure would. All the features are working just fine, the speed is not "superb" but good enough and the support so far is great. My rating based on my first impression: 8/10.
View Replies!
View Related
Cpanel Dropping The Www
I just wanted to check with you all to see if you have experienced an issue with cpanel that drops the www when you access directories and if so, how did you go about fixing it. For example - if I were to go to - www.domain.com and then access a sub like /test - it would show up as domain.com/test - dropping the www.
View Replies!
View Related
Www.mydomain.com/whm
Whenever I have had a server with WHM/cPanel I have always been able to raise WHM by browsing to www.mydomain.com/whm - however on my latest server this doesn't work, I can only get to WHM by browsing to my IP:2086 The server has been up and running for 6 days and www.mydomain.com has been working almost from the beginning. dnsreport shows that reverse dns exists for hostname.mydomain.com I am at a loss to know why I cannot raise WHM by www.mydomain.com/whm
View Replies!
View Related
Plesk WWW Not Working
When I create a domain in plesk, it works fine without www, but shows server default page with www. For example when I enter [url], it shows server default page, but when I enter [url], it works fine! Well I've added www cname to DNS Zone, but still doesn't work. Does anyone know how can I solve it?
View Replies!
View Related
Www Record Change
i've had the same issue come up a couple of times recently and i'm looking for a bit of advice before i go any further. i'm doing web development on a couple of websites where the companies want to preserve the mail exchange set up with their existing hosts, but wish to move their website to a different hosting platform. i have just set up a VPS which i want to host the websites on, however, i am unsure if i can simply request that the existing providers change the www record to point to my VPS IP address. is this sufficient or do i have to ask the hosts for a nameservers change?
View Replies!
View Related
Cant Access Www Files
here at work theres a little situation with access privs. im in web and my image upload script places files on the server as www user (i understand that). however, if im working on this script and need to either delete these files or archive them then i dont have privs with my account. how would one go about giving my account access to delete and modify files the www user has uploaded?
View Replies!
View Related
Email/www Co-hosted
I am moving my shared hosting website to a vps at new provider. Is it usual to place email server running on the same VPS as my website? Should I worry about email bombs taking out my www or a www DoS attack shutting down my email? I ask because my new provider doesn't offer email on other own dedicated server. I have to run it on my VPS.
View Replies!
View Related
|