/    Sign up×
Community /Pin to ProfileBookmark

Website Malware Issue

Please can someone help me by explaining the difference between www. and http:// before the domain name?

I have been told that I have two separate websites and one of them has malware ([url]www.)[/url] so the hosting provider has made it inactive but the other one is still live ([url]http://)[/url]. I’ve been told that I have to change hosting provider and the new hosting provider has said that they can put antivirus on the infected site files.

This is all very confusing, what I need to know is do I have two separate websites and whats the difference (I thought they were the same thing)?

Any explanation or info on this would be really appreciated.

Thanks,

Jordan

to post a comment
Full-stack Developer

8 Comments(s)

Copy linkTweet thisAlerts:
@JordanRoperauthorMay 29.2015 — Did anyone get the chase to read this?
Copy linkTweet thisAlerts:
@rootMay 29.2015 — some sites put www.domain.com others put domain.com as the qualifying name, to the most servers this addition or exclusion of www. has no effect other than in firewalls and other security software, the www. is a significant difference because it has no way of knowing is www.nastysite.com is the same as nastysite.com.

http:// or https:// will always be a prefix for web communication between a browser and a server, you can use your browser to connect to ftp:// as well but depending on the vendor, the support for this varies.
Copy linkTweet thisAlerts:
@escapeadJun 01.2015 — either putting the sub domain as well example abc.accd.com or with out www. its only effects on SEO
Copy linkTweet thisAlerts:
@nuasoftJun 01.2015 — I'd be more concerned about fixing the malware and the security hole that caused .it. I wouldnt expect anti virus to be of much use to you, particularly if it is a Wordpress site.
Copy linkTweet thisAlerts:
@yougo123Jun 02.2015 — Your domain name does not include the "www" - that part of an address is known as the sub-domain. It points to a folder on your web site. You can have multiple sub-domains, all registered under the same domain. So you could have "www.example.com," "discuss.example.com," and "blog.example.com," all registered as "example.com."

When you see Web addresses that have no apparent sub-domain (no "www" or other prefix) it's because the "www" has been removed using a file called ".htaccess" or some other programming.
Copy linkTweet thisAlerts:
@ghislerJun 03.2015 — Your domain name does not include the "www" - that part of an address is known as the sub-domain. It points to a folder on your web site. You can have multiple sub-domains, all registered under the same domain.

When you see Web addresses that have no apparent sub-domain (no "www" or other prefix) it's because the "www" has been removed using a file called ".htaccess" or some other programming.
Copy linkTweet thisAlerts:
@ghislerJun 03.2015 — Using www or without www is a personal preference. In cPanel it is called "Redirect". What you set in Redirect will be written to .htaccess so no need to manually edit the file.
Copy linkTweet thisAlerts:
@JordanRoperauthorJun 08.2015 — Thanks for all the replies, I think I understand it a bit more now ?
×

Success!

Help @JordanRoper spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...